I am running a local 3-node Quorum cluster with Raft consensus. The network is setup using quorum-maker. All the settings are default except that I have added a custom account in the script so that it would have an initial balance. Now, when I try to estimate the gas requirement for balance transfer from one account to another the I am getting an estimate equal to the block gas limit (around 3745281699), and not 21000 as it is supposed to be. I would like to transfer ether using web3js, but the transaction fails due to this high gas value. How do I solve this?


Quorum Maker start script:

geth --verbosity 6 --datadir qdata --raft --nodiscover --networkid 41418 --rpc --rpcaddr --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft --emitcheckpoints --raftport 22003 --rpcport 22000 --port 22001 --nat extip:

Get Balance:

$ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xE2F384B526C57309e7798B9E8455BF05bE89A465", "latest"],"id":1}'

> {"jsonrpc":"2.0","id":1,"result":"0x446c3b15f9926687d2c40534fdb564000000000000"}

(There is sufficient balance in the account)

Gas Estimate:

curl -X POST --data '{ "jsonrpc":"2.0", "id":2, "method":"eth_estimateGas", "params":[ { "to":"0xE2F384B526C57309e7798B9E8455BF05bE89A465", "value":"0x21e19e0c9bab2400000", "from":"0x7798673316D6028b7fF2CF7369aa658276e5C1C5" } ] }'

> {"jsonrpc":"2.0","id":2,"result":"0xdf3c76a3"}

Version details:

Version: 1.7.2-stable
Git Commit: df4267a25637a5497a3db9fbde4603a3dcd6aa14
Quorum Version: 2.0.2
Architecture: amd64
Network Id: 1
Go Version: go1.10.2
Operating System: linux


  "config": {
        "chainId": 94296,
        "homesteadBlock": 0,
        "eip155Block": null,
        "eip158Block": null,
        "isQuorum": true
  "alloc"      : {
    "0xe2f384b526c57309e7798b9e8455bf05be89a465": {"balance": "100000000000000000000000000000000000000000000000000"},
  "coinbase"   : "0x0000000000000000000000000000000000000000",
  "difficulty" : "0x0",
  "extraData"  : "0x0000000000000000000000000000000000000000000000000000000000000000",
  "gasLimit"   : "0xE0000000",
  "nonce"      : "0x0",
  "mixhash"    : "0x00000000000000000000000000000000000000647572616c65787365646c6578",
  "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
  "timestamp"  : "0x00"

The estimates return correct values in ganache. Why is the gas estimate of Quorum different, and what can I do to enable HDWalletProvider to transfer ethers?


could you update your genesis config to the sample below and try again?

  "config": {
    "byzantiumBlock": 1,
    "chainId": 10,
    "eip150Block": 1,
    "eip155Block": 0,
    "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "eip158Block": 1,
    "isQuorum":true   },
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.