forked from cerc-io/plugeth
Merge pull request #15022 from karalabe/enable-byzantium-state-tests
tests: enable Byzantium state tests for CI
This commit is contained in:
commit
fc5f8a3dda
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user