-
Notifications
You must be signed in to change notification settings - Fork 720
Implementation of EIP106 breaks state tests #390
Comments
@heikoheiko any advise on this one? |
https://github.com/ethereum/tests/blob/develop/StateTests/RandomTests/st201504011547GO.json Above test asserts that an OOG exception is triggered. As a hotfix I'd propose here to: But again, I think the actual error is with above state test, because it depends on a block prestate which is out of bounds. |
you mean current gasLimit that is out of bounds? |
yes |
thanks @heikoheiko , this works. |
Yes we could just fix the gasLimit to fit new requirements. any more tests in RandomTests folder with same issue? |
There is a not yet handled case of fixtures formatting: > If the output data is prefixed with #, the following number represents the size of the output, and not the output > directly. (https://github.com/ethereum/homestead-guide/blob/master/source/contracts-and-transactions/ethereum-tests/state_tests/index.rst) After updates to `ethereum/tests`, that followed ticket #390, we now see the cases of this, which are addressed by this commit.
I think this is not relevant anymore |
See here: https://travis-ci.org/ethereum/pyethereum/jobs/143355805#L472-L553
EIP 106 was implemented in 03e1c88
ethereum/testutils.py:run_state_tests
expects to create aBlock
object, even from invalid data. Therefore the current implementation of EIP 106 (raising aValueError
when__init__
ializing with a too highgas_limit
) is not compatible with the test function.The text was updated successfully, but these errors were encountered: