From 20a814ffca92659981a743bc76c8ebaa20ab24d5 Mon Sep 17 00:00:00 2001 From: Devon Bear Date: Sat, 23 Sep 2023 22:57:47 -0400 Subject: [PATCH] fix default plugin --- eth/core/precompile/default_plugin.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eth/core/precompile/default_plugin.go b/eth/core/precompile/default_plugin.go index 1702d88ff..23925b7d4 100644 --- a/eth/core/precompile/default_plugin.go +++ b/eth/core/precompile/default_plugin.go @@ -45,6 +45,12 @@ func NewDefaultPlugin() Plugin { } } +// Register is a no-op for the default plugin. +func (dp *defaultPlugin) Register(vm.PrecompileContainer) error { + // no-op + return nil +} + // GetPrecompiles implements core.PrecompilePlugin. func (dp *defaultPlugin) GetPrecompiles(rules *params.Rules) []Registrable { return GetDefaultPrecompiles(rules)