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
These are two different backends (mock and py-evm), they shouldn't import from each other. It's possible that it could make sense to have it import from a third place, which would probably be something like eth-constants -- although that doesn't actually have any constants in it, just a TODO
What was wrong?
I went looking for where the gas limit is set and noticed the default number is set in two places? This didn't seem right.
eth-tester/eth_tester/backends/pyevm/main.py
Line 81 in 8719326
eth-tester/eth_tester/backends/mock/factory.py
Line 256 in 9c852dd
How can it be fixed?
Probably use the constant in
make_genesis_block()
as a default.The text was updated successfully, but these errors were encountered: