add GetContractCode
This commit is contained in:
parent
0deaa33408
commit
39acd005bf
@ -57,6 +57,7 @@ type Backend interface {
|
|||||||
|
|
||||||
GetTrie(hash Hash) (Trie, error)
|
GetTrie(hash Hash) (Trie, error)
|
||||||
GetAccountTrie(stateRoot Hash, account Address) (Trie, error)
|
GetAccountTrie(stateRoot Hash, account Address) (Trie, error)
|
||||||
|
GetContractCode(Hash) ([]byte, error)
|
||||||
|
|
||||||
// ChainConfig() *params.ChainConfig
|
// ChainConfig() *params.ChainConfig
|
||||||
// Engine() consensus.Engine
|
// Engine() consensus.Engine
|
||||||
|
Loading…
Reference in New Issue
Block a user