aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/block_test_util.go2
-rw-r--r--tests/state_test.go4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index 2db47da57..427a94958 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -111,7 +111,7 @@ func (t *BlockTest) Run() error {
return fmt.Errorf("genesis block state root does not match test: computed=%x, test=%x", gblock.Root().Bytes()[:6], t.json.Genesis.StateRoot[:6])
}
- chain, err := core.NewBlockChain(db, nil, config, ethash.NewShared(), vm.Config{})
+ chain, err := core.NewBlockChain(db, nil, config, ethash.NewShared(), vm.Config{}, nil)
if err != nil {
return err
}
diff --git a/tests/state_test.go b/tests/state_test.go
index b61a1ca28..91c9a9f44 100644
--- a/tests/state_test.go
+++ b/tests/state_test.go
@@ -41,6 +41,10 @@ func TestState(t *testing.T) {
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) {