diff options
author | Martin Holst Swende <martin@swende.se> | 2018-09-04 16:49:18 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-09-04 16:49:18 +0800 |
commit | 32f28a9360d26a661d55915915f12fd3c70f012b (patch) | |
tree | 870134b45677ea479b6fca7983d48eb362c12b4d /tests/state_test.go | |
parent | 6a33954731658667056466bf7573ed1c397f4750 (diff) | |
download | go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.gz go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.bz2 go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.lz go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.xz go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.zst go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.zip |
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.
Diffstat (limited to 'tests/state_test.go')
-rw-r--r-- | tests/state_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/state_test.go b/tests/state_test.go index adec4feb2..b61a1ca28 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -44,9 +44,6 @@ func TestState(t *testing.T) { key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index) name := name + "/" + key t.Run(key, func(t *testing.T) { - if subtest.Fork == "Constantinople" { - t.Skip("constantinople not supported yet") - } withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error { _, err := test.Run(subtest, vmconfig) return st.checkFailure(t, name, err) |