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?

1 Answer 1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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