core/state/snapshot, tests: sync snap gen + snaps in consensus tests
This commit is contained in:
@ -30,7 +30,10 @@ func TestVM(t *testing.T) {
|
||||
|
||||
vmt.walk(t, vmTestDir, func(t *testing.T, name string, test *VMTest) {
|
||||
withTrace(t, test.json.Exec.GasLimit, func(vmconfig vm.Config) error {
|
||||
return vmt.checkFailure(t, name, test.Run(vmconfig))
|
||||
return vmt.checkFailure(t, name+"/trie", test.Run(vmconfig, false))
|
||||
})
|
||||
withTrace(t, test.json.Exec.GasLimit, func(vmconfig vm.Config) error {
|
||||
return vmt.checkFailure(t, name+"/snap", test.Run(vmconfig, true))
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user