From 3034519874b0ce06e1eadf6f1e637a0fb56f3d71 Mon Sep 17 00:00:00 2001 From: "nebojsa.urosevic" Date: Thu, 21 Nov 2024 18:54:29 +0100 Subject: [PATCH] core/tracing: add GetCodeHash to StateDB --- core/tracing/hooks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/tracing/hooks.go b/core/tracing/hooks.go index a21bb1577b..0c5cae354b 100644 --- a/core/tracing/hooks.go +++ b/core/tracing/hooks.go @@ -42,6 +42,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 GetTransientState(common.Address, common.Hash) common.Hash Exist(common.Address) bool