cmd/evm: use PathScheme in blockrunner

This is a preparatory change for Verkle/binary trees, since they don't
support the hash-based database scheme.
This commit is contained in:
Guillaume Ballet 2025-08-14 21:33:48 +02:00
parent 2dbb580f51
commit 33c9c19bb2

View file

@ -89,7 +89,7 @@ func runBlockTest(ctx *cli.Context, fname string) ([]testResult, error) {
continue
}
result := &testResult{Name: name, Pass: true}
if err := tests[name].Run(false, rawdb.HashScheme, ctx.Bool(WitnessCrossCheckFlag.Name), tracer, func(res error, chain *core.BlockChain) {
if err := tests[name].Run(false, rawdb.PathScheme, ctx.Bool(WitnessCrossCheckFlag.Name), tracer, func(res error, chain *core.BlockChain) {
if ctx.Bool(DumpFlag.Name) {
if s, _ := chain.State(); s != nil {
result.State = dump(s)