From ad2814343764e4d94fa9f667aee81776ea7e5693 Mon Sep 17 00:00:00 2001 From: meows Date: Mon, 7 Nov 2022 10:17:54 -0800 Subject: [PATCH] cmd/utils: initialize external evms if configured for geth Date: 2022-11-07 10:17:54-08:00 Signed-off-by: meows --- cmd/utils/flags.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 7ab4906218..9f09953c35 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -2021,10 +2021,12 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) { if ctx.IsSet(EWASMInterpreterFlag.Name) { cfg.EWASMInterpreter = ctx.String(EWASMInterpreterFlag.Name) + vm.InitEVMCEwasm(cfg.EWASMInterpreter) } if ctx.IsSet(EVMInterpreterFlag.Name) { cfg.EVMInterpreter = ctx.String(EVMInterpreterFlag.Name) + vm.InitEVMCEVM(cfg.EVMInterpreter) } if ctx.IsSet(RPCGlobalGasCapFlag.Name) { cfg.RPCGasCap = ctx.Uint64(RPCGlobalGasCapFlag.Name)