add GetContractCode

This commit is contained in:
2023-07-07 00:08:00 +08:00
parent 0deaa33408
commit 39acd005bf
+1
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