diff --git a/core/state/xplugeth_hooks.go b/core/state/xplugeth_hooks.go index 5b58a140d..1044d233a 100644 --- a/core/state/xplugeth_hooks.go +++ b/core/state/xplugeth_hooks.go @@ -23,6 +23,11 @@ type pluginSnapshot struct { root common.Hash } +// This function is being brought over from foundation to enable our producer plugin to work agnostically across networks. +func (s *StateDB) GetTrie() Trie { + return s.trie +} + func (s *pluginSnapshot) Root() common.Hash { return s.root }