tests: enable Byzantium state tests for CI

This commit is contained in:
Péter Szilágyi 2017-08-22 14:03:14 +03:00
parent 2fd5ba6bd4
commit 3cc476c8ab
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -50,8 +50,8 @@ func TestState(t *testing.T) {
key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index) key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index)
name := name + "/" + key name := name + "/" + key
t.Run(key, func(t *testing.T) { t.Run(key, func(t *testing.T) {
if subtest.Fork == "Constantinople" || subtest.Fork == "Byzantium" { if subtest.Fork == "Constantinople" {
t.Skip("constantinople, byzantium not supported yet") t.Skip("constantinople not supported yet")
} }
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error { withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
return st.checkFailure(t, name, test.Run(subtest, vmconfig)) return st.checkFailure(t, name, test.Run(subtest, vmconfig))