Added GetTrie and GetAccountTrie to core/interace.go

This commit is contained in:
philip-morlier 2023-04-07 14:28:23 -07:00
parent 40f38568e0
commit 6b776ae75c

View File

@ -55,6 +55,9 @@ type Backend interface {
SubscribePendingLogsEvent(ch chan<- [][]byte) Subscription // RLP Encoded logs SubscribePendingLogsEvent(ch chan<- [][]byte) Subscription // RLP Encoded logs
SubscribeRemovedLogsEvent(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 // ChainConfig() *params.ChainConfig
// Engine() consensus.Engine // Engine() consensus.Engine
} }