You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrong intrinsic gas is calculated by eth_sendRawTransaction precheck in all cases. For example deploying this greeter contract takes around 79-80k gas, but relay calculates that it needs at least 160k. This results in error throw in the relay even before the transaction reaches consensus node.
This bug didn't surface until now, because we've used hardcoded values for estimateGas, now that we have precise calculation of estimate gas from the mirror-node it appears that relay calculations were wrong.
Steps to reproduce
Deploy contract using image from this PR, which now calculates correct estimateGas
Additional context
No response
Hedera network
other
Version
main
Operating system
None
The text was updated successfully, but these errors were encountered:
Description
Wrong intrinsic gas is calculated by
eth_sendRawTransaction
precheck in all cases. For example deploying this greeter contract takes around 79-80k gas, but relay calculates that it needs at least 160k. This results in error throw in the relay even before the transaction reaches consensus node.This bug didn't surface until now, because we've used hardcoded values for estimateGas, now that we have precise calculation of estimate gas from the mirror-node it appears that relay calculations were wrong.
Steps to reproduce
Additional context
No response
Hedera network
other
Version
main
Operating system
None
The text was updated successfully, but these errors were encountered: