From b4e01743eaaf28236751367ac9f31b74063d3d4c Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Mon, 26 Aug 2024 15:47:21 +0200 Subject: [PATCH] core/tracing: add GetCodeHash to statedb interface --- core/tracing/hooks.go | 1 + 1 file changed, 1 insertion(+) 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