Skip to content

Contract Deployment Fails with INSUFFICIENT_PAYER_BALANCE Despite Sufficient HBAR Balance on Local-Node #1129

@quiet-node

Description

@quiet-node

Description

On latest local-node@2.37.1, with CN@63.0 and MN@0.130.0, contract deployment fails with an INSUFFICIENT_PAYER_BALANCE error even when the deploying account holds 10 HBAR.

***Note: The same deployment with same account balance succeeds on testnet, indicating a discrepancy between the two environments.

After further testing and experimenting, it appears that local-node only allows contract deployment when the sender account holds at least 11.5 HBAR. Any amount below that threshold results in an INSUFFICIENT_PAYER_BALANCE error.

A related comment on the Mirror Node repo here suggests there may be a fee schedule mismatch between local-node and testnet.

Steps to reproduce

  1. Start local-node (v2.37.1) with CN@63.0 and MN@0.130.0
  2. Ensure an account has 10 HBAR.
  3. Attempt to deploy a contract using this account (e.g., via eth_estimateGas, eth_sendRawTransaction, or any deployment method).
  4. Observe the error response:
Error: execution reverted (could not decode reason; invalid data length) (action="estimateGas", data="0x494e53554646494349454e545f50415945525f42414c414e4345", reason=null, transaction={ "data": "0x6080604052600f600055348015601457600080fd5b50606e8060226000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80632de4e88414602d575b600080fd5b60366008600055565b00fea26469706673582212204f4929609314772906604fbf3fa15708239abd76b6d2a022fa89ae0e0b888bb264736f6c63430008090033", "from": "0x3f18A454ac364c6E8867b09674FB61732454eFea", "to": null }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.14.4)

// 0x494e53554646494349454e545f50415945525f42414c414e4345 = INSUFFICIENT_PAYER_BALANCE

  1. Increase the account's balance to 11.5 HBAR or higher.
  2. Retry the contract deployment.
  3. The deployment now succeeds.

Additional context

No response

Hedera network

No response

Version

2.37.1

Operating system

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAn error that causes the feature to behave differently than what was expected based on design.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions