add GetContractCode

This commit is contained in:
Roy Crihfield 2023-06-22 15:20:28 +08:00
parent d8d1347863
commit 1d3da8ce80

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