Skip to content

Commit

Permalink
exposing GetCodeHash in StateDB interface
Browse files Browse the repository at this point in the history
  • Loading branch information
daleksov committed Dec 28, 2024
1 parent 3dd9b02 commit 66f5841
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/tracing/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Exist(common.Address) bool
GetRefund() uint64
Expand Down

0 comments on commit 66f5841

Please sign in to comment.