add GetContractCode

This commit is contained in:
Roy Crihfield 2023-06-22 15:20:28 +08:00
parent 0deaa33408
commit 39acd005bf

View File

@ -57,6 +57,7 @@ type Backend interface {
GetTrie(hash Hash) (Trie, error)
GetAccountTrie(stateRoot Hash, account Address) (Trie, error)
GetContractCode(Hash) ([]byte, error)
// ChainConfig() *params.ChainConfig
// Engine() consensus.Engine