tests: re-enable constantinople statetests

This commit is contained in:
Martin Holst Swende 2018-10-15 10:50:36 +02:00
parent 2529436c63
commit fcb3110ab1
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -45,14 +45,11 @@ func TestState(t *testing.T) {
// Expected failures:
st.fails(`^stRevertTest/RevertPrecompiledTouch\.json/EIP158`, "bug in test")
st.fails(`^stRevertTest/RevertPrecompiledTouch\.json/Byzantium`, "bug in test")
st.fails(`^stRevertTest/RevertPrecompiledTouch.json/Constantinople`, "bug in test")
st.walk(t, stateTestDir, func(t *testing.T, name string, test *StateTest) {
for _, subtest := range test.Subtests() {
subtest := subtest
if subtest.Fork == "Constantinople" {
// Skipping constantinople due to net sstore gas changes affecting all tests
continue
}
key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index)
name := name + "/" + key
t.Run(key, func(t *testing.T) {