From 6b776ae75c5f61beeb00616cebc09453b04ef5a4 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Fri, 7 Apr 2023 14:28:23 -0700 Subject: [PATCH] Added GetTrie and GetAccountTrie to core/interace.go --- core/interface.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/interface.go b/core/interface.go index 073fb48..b8b2c80 100644 --- a/core/interface.go +++ b/core/interface.go @@ -55,6 +55,9 @@ type Backend interface { SubscribePendingLogsEvent(ch chan<- [][]byte) Subscription // RLP Encoded logs SubscribeRemovedLogsEvent(ch chan<- []byte) Subscription // RLP encoded logs + GetTrie(hash Hash) (Trie, error) + GetAccountTrie(stateRoot Hash, account Address) (Trie, error) + // ChainConfig() *params.ChainConfig // Engine() consensus.Engine }