From 39acd005bfafe162ee6d29c11cb67e9babd0ae30 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 22 Jun 2023 15:20:28 +0800 Subject: [PATCH] add GetContractCode --- core/interface.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/interface.go b/core/interface.go index 4ed552e..98ca600 100644 --- a/core/interface.go +++ b/core/interface.go @@ -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