core/tracing: add GetCodeHash to StateDB

This commit is contained in:
nebojsa.urosevic 2024-11-21 18:54:29 +01:00
parent e3d61e6db0
commit 3034519874

View file

@ -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