-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test suite: VMTests are only for Homestead, blockNumber-fork mapping should be ignored #64
Labels
Comments
Checking the official documentation, for the VMTests, only Homestead fork is supported: https://ethereum-tests.readthedocs.io/en/latest/test_types/vm_tests.html So we should ignore the block number read and always use Homestead. |
jangko
added a commit
to jangko/nimbus-eth1
that referenced
this issue
Aug 14, 2019
jangko
added a commit
to jangko/nimbus-eth1
that referenced
this issue
Aug 14, 2019
fixed by #373, closing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we are testing the gas ending balance module 15000 if there was an SSTORE operation involved.
https://github.com/status-im/nimbus/blob/6f28d1186675f648e0587f44e730b9dc23291bab/tests/test_vm_json.nim#L89-L92
This was probably a workaround (in Py-EVM or Nimbus) as Py-EVM does not do it currently: https://github.com/ethereum/py-evm/blob/6708b9eedde39b3b8d4c0db57a7bd2b1770c72d9/tests/json-fixtures/test_virtual_machine.py#L236
Example test that should fail: expXY_success.json
https://github.com/status-im/nimbus/blob/6f28d1186675f648e0587f44e730b9dc23291bab/tests/fixtures/VMTests/vmArithmeticTest/expXY_success.json#L1-L54
"currentNumber" : "0x00"
: this is the block number"gas" : "0x9bad"
= 39853 should be left over after execution but 84853 are left currently and Nimbus passes the test.Note that the blockNumber for this test is 0x00 but it seems to imply latest block:
The text was updated successfully, but these errors were encountered: