core/vm, tests: update tests, enable constantinople statetests, fix SAR opcode (#17538)
This commit does a few things at once: - Updates the tests to contain the latest data from ethereum/tests repo. - Enables Constantinople state tests. This is needed to be able to fuzz-test the evm with constantinople rules. - Fixes the error in opSAR that we've known about for some time. I was kind of saving it to see if we hit upon it with the random test generator, but it's difficult to both enable the tests and have the bug there -- we don't want to forget about it, so maybe it's better to just fix it.
Showing
- core/vm/instructions.go 1 addition, 1 deletioncore/vm/instructions.go
- tests/block_test.go 3 additions, 3 deletionstests/block_test.go
- tests/init_test.go 10 additions, 0 deletionstests/init_test.go
- tests/state_test.go 0 additions, 3 deletionstests/state_test.go
- tests/state_test_util.go 12 additions, 1 deletiontests/state_test_util.go
- tests/testdata 1 addition, 1 deletiontests/testdata
Loading
Please register or sign in to comment