diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-11 20:23:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-11 20:23:22 +0800 |
commit | 6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f (patch) | |
tree | 7b0570a6131a59e298df8eb2fbefedd520575b0e /tests/state_test.go | |
parent | 833eeb9f23e6808377f0414f0db4a731b134fe9f (diff) | |
parent | 6a56b15019271f5a16406c7e1be50d581f8efcab (diff) | |
download | dexon-6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f.tar dexon-6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f.tar.gz dexon-6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f.tar.bz2 dexon-6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f.tar.lz dexon-6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f.tar.xz dexon-6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f.tar.zst dexon-6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f.zip |
Merge pull request #14964 from fjl/tests-update-2
tests: update tests, use blockchain test "network" field
Diffstat (limited to 'tests/state_test.go')
-rw-r--r-- | tests/state_test.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/state_test.go b/tests/state_test.go index e4e691589..ab6dc423f 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -33,11 +33,9 @@ func TestState(t *testing.T) { st.skipShortMode(`^stQuadraticComplexityTest/`) // Broken tests: st.skipLoad(`^stTransactionTest/OverflowGasRequire\.json`) // gasLimit > 256 bits - st.skipLoad(`^stStackTests/shallowStackOK\.json`) // bad hex encoding st.skipLoad(`^stTransactionTest/zeroSigTransa[^/]*\.json`) // EIP-86 is not supported yet // Expected failures: - st.fails(`^stCallCreateCallCodeTest/createJS_ExampleContract\.json`, "bug in test") - st.fails(`^stCodeSizeLimit/codesizeOOGInvalidSize\.json/(Frontier|Homestead)`, + st.fails(`^stCodeSizeLimit/codesizeOOGInvalidSize\.json/(Frontier|Homestead|EIP150)`, "code size limit implementation is not conditional on fork") st.fails(`^stRevertTest/RevertDepthCreateAddressCollision\.json/EIP15[08]/[67]`, "bug in test") st.fails(`^stRevertTest/RevertPrecompiledTouch\.json/EIP158`, "bug in test") @@ -49,8 +47,8 @@ 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 == "Metropolis" { - t.Skip("metropolis not supported yet") + if subtest.Fork == "Constantinople" || subtest.Fork == "Byzantium" { + t.Skip("constantinople, byzantium not supported yet") } withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error { return st.checkFailure(t, name, test.Run(subtest, vmconfig)) |