@@ -36,7 +36,7 @@ func TestNoPersistence(t *testing.T) {
36
36
os .RemoveAll (dbPath )
37
37
defer os .RemoveAll (dbPath )
38
38
39
- conf := & Config {DBPath : dbPath }
39
+ conf := & Config {DBPath : dbPath , SetupEVMEnabled : true , SetupVMBridgeEnabled : true }
40
40
server := NewEmulatorServer (& logger , conf )
41
41
defer server .Stop ()
42
42
@@ -53,7 +53,7 @@ func TestPersistenceWithPersistFlag(t *testing.T) {
53
53
os .RemoveAll (dbPath )
54
54
defer os .RemoveAll (dbPath )
55
55
56
- conf := & Config {Persist : true , DBPath : dbPath }
56
+ conf := & Config {Persist : true , DBPath : dbPath , SetupEVMEnabled : true , SetupVMBridgeEnabled : true }
57
57
server := NewEmulatorServer (& logger , conf )
58
58
defer server .Stop ()
59
59
@@ -70,7 +70,7 @@ func TestPersistenceWithSnapshotFlag(t *testing.T) {
70
70
os .RemoveAll (dbPath )
71
71
defer os .RemoveAll (dbPath )
72
72
73
- conf := & Config {Snapshot : true , DBPath : dbPath }
73
+ conf := & Config {Snapshot : true , DBPath : dbPath , SetupEVMEnabled : true , SetupVMBridgeEnabled : true }
74
74
server := NewEmulatorServer (& logger , conf )
75
75
defer server .Stop ()
76
76
@@ -82,7 +82,7 @@ func TestPersistenceWithSnapshotFlag(t *testing.T) {
82
82
func TestExecuteScript (t * testing.T ) {
83
83
84
84
logger := zerolog .Nop ()
85
- server := NewEmulatorServer (& logger , & Config {})
85
+ server := NewEmulatorServer (& logger , & Config {SetupEVMEnabled : true , SetupVMBridgeEnabled : true })
86
86
go server .Start ()
87
87
defer server .Stop ()
88
88
@@ -103,7 +103,9 @@ func TestExecuteScript(t *testing.T) {
103
103
104
104
func TestExecuteScriptImportingContracts (t * testing.T ) {
105
105
conf := & Config {
106
- WithContracts : true ,
106
+ WithContracts : true ,
107
+ SetupEVMEnabled : true ,
108
+ SetupVMBridgeEnabled : true ,
107
109
}
108
110
109
111
logger := zerolog .Nop ()
@@ -133,8 +135,10 @@ func TestExecuteScriptImportingContracts(t *testing.T) {
133
135
func TestCustomChainID (t * testing.T ) {
134
136
135
137
conf := & Config {
136
- WithContracts : true ,
137
- ChainID : "flow-sandboxnet" ,
138
+ WithContracts : true ,
139
+ ChainID : "flow-sandboxnet" ,
140
+ SetupEVMEnabled : true ,
141
+ SetupVMBridgeEnabled : true ,
138
142
}
139
143
logger := zerolog .Nop ()
140
144
server := NewEmulatorServer (& logger , conf )
0 commit comments