2

In deploying a contract to a private network, I get this error:

[-32010] Transaction gas is too low. There is not enough gas to cover minimal cost of the transaction (minimal: 84044, got: 5000). Try increasing supplied gas.

Can anyone tell me where this 84044 number is defined?

| improve this question | | | | |
2

It won't be a hard-coded number - it'll be the estimation of the gas usage for the transaction, as per this call to estimate_gas_required().

(Someone more familiar with the Parity code might want to comment further.)

| 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.