hedera-local-node icon indicating copy to clipboard operation
hedera-local-node copied to clipboard

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

Open quiet-node opened this issue 7 months ago • 0 comments

Description

On latest [email protected], with [email protected] and [email protected], 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 [email protected] and [email protected]
  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

quiet-node avatar Jun 18 '25 21:06 quiet-node