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
Geth version: Version: 1.7.3
OS & Version: Alpine Linux v3.7
Commit hash : 4bb3c89d44e372e6a9ab85a8be0c9345265c763a
Expected behavior
Calls to estimateGas return a deterministic amount that is sufficient to run the estimated transaction.
Actual behavior
Making many eth_estimateGas calls running in parallel for the same transaction will in rare cases return an anomalous value that is less than the gas required for the transaction to succeed.
Steps to reproduce the behavior
Upload this contract:
contract TestContract {
bool private flag;
function test() public {
flag = true;
}
}
Now using curl run several (10 worked with just a couple attempts) gas estimate requests in parallel with the relevant data filled in as appropriate for your setup:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
System information
Geth version:
Version: 1.7.3
OS & Version:
Alpine Linux v3.7
Commit hash :
4bb3c89d44e372e6a9ab85a8be0c9345265c763a
Expected behavior
Calls to
estimateGas
return a deterministic amount that is sufficient to run the estimated transaction.Actual behavior
Making many
eth_estimateGas
calls running in parallel for the same transaction will in rare cases return an anomalous value that is less than the gas required for the transaction to succeed.Steps to reproduce the behavior
Upload this contract:
Now using curl run several (10 worked with just a couple attempts) gas estimate requests in parallel with the relevant data filled in as appropriate for your setup:
The results should come back identical, however after a few attempts you will get something like this:
Note that the last response is incorrect.
Worth noting in the actual node setup is that we are using 1 second block times.
The text was updated successfully, but these errors were encountered: