From 00ce5674f71ffa92ac84a77bcad90ed5a1509d23 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Thu, 12 Oct 2023 07:59:36 -0700 Subject: [PATCH] Adjusted utility function, ParseStateScheme(), in plugethCaptureTrieConfig(). The function was moved from /cmd/utils/ to /core/rawdb/ and the areguments adjusted. Test Plugin passing without error. --- cmd/geth/plugin_hooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/geth/plugin_hooks.go b/cmd/geth/plugin_hooks.go index fa1f25ea1..d809cb382 100644 --- a/cmd/geth/plugin_hooks.go +++ b/cmd/geth/plugin_hooks.go @@ -163,7 +163,7 @@ func plugethCaptureTrieConfig(ctx *cli.Context, stack *node.Node, backend ethapi chaindb := backend.ChainDb() - scheme, err := utils.ParseStateScheme(ctx, chaindb) + scheme, err := rawdb.ParseStateScheme(ctx.String(utils.StateSchemeFlag.Name), chaindb) if err != nil { utils.Fatalf("%v", err) }