diff --git a/core/tracing/hooks.go b/core/tracing/hooks.go index 43a72162e8..0c5e512f3e 100644 --- a/core/tracing/hooks.go +++ b/core/tracing/hooks.go @@ -41,6 +41,7 @@ type StateDB interface { GetBalance(common.Address) *uint256.Int GetNonce(common.Address) uint64 GetCode(common.Address) []byte + GetCodeHash(common.Address) common.Hash GetState(common.Address, common.Hash) common.Hash Exist(common.Address) bool GetRefund() uint64