Skip to content

Commit a002a6c

Browse files
authored
cmd/evm: use PathScheme in blockrunner (ethereum#32444)
This is a preparatory change for Verkle/binary trees, since they don't support the hash-based database scheme. This has no impact on the MPT.
1 parent ea3a717 commit a002a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/evm/blockrunner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func runBlockTest(ctx *cli.Context, fname string) ([]testResult, error) {
8989
continue
9090
}
9191
result := &testResult{Name: name, Pass: true}
92-
if err := tests[name].Run(false, rawdb.HashScheme, ctx.Bool(WitnessCrossCheckFlag.Name), tracer, func(res error, chain *core.BlockChain) {
92+
if err := tests[name].Run(false, rawdb.PathScheme, ctx.Bool(WitnessCrossCheckFlag.Name), tracer, func(res error, chain *core.BlockChain) {
9393
if ctx.Bool(DumpFlag.Name) {
9494
if s, _ := chain.State(); s != nil {
9595
result.State = dump(s)

0 commit comments

Comments
 (0)