This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 563
Non deterministic gas estimation test #536
Labels
Comments
fedekunze
added
Type: Bug
Type: Tests
issues and PR related to tests
C:x/evm
EVM module
labels
Sep 7, 2021
It is worth noting that the difference in expected value and actual value in both cases is 12.
|
https://github.com/tharsis/ethermint/runs/4727410039?check_suite_focus=true This non-deterministic still exists. |
11 tasks
yihuang
added a commit
to yihuang/ethermint
that referenced
this issue
Jan 7, 2022
Closes: evmos#536 Solution: Use a fixed test account. The source of non-deterministic is tx's intrinsic gas is different according to different number of zeros in input data, so to make sure the gas number is reproducible, and the randomly generated test address is included in that.
fedekunze
pushed a commit
that referenced
this issue
Jan 7, 2022
Closes: #536 Solution: Use a fixed test account. The source of non-deterministic is tx's intrinsic gas is different according to different number of zeros in input data, so to make sure the gas number is reproducible, and the randomly generated test address is included in that.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sometimes the tests fail with a non-deterministic gas estimation:
cc: @yihuang
The text was updated successfully, but these errors were encountered: