Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
fix default plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Bear committed Sep 24, 2023
1 parent dccd785 commit 20a814f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eth/core/precompile/default_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20a814f

Please sign in to comment.