Skip to content

Commit 953cfad

Browse files
kchojnziogaschr
authored andcommitted
core/tracing: add GetTransientState method to StateDB interface (#30531)
Allows live custom tracers to access contract transient storage through the StateDB interface.
1 parent 803a5e9 commit 953cfad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/tracing/hooks.go

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ type StateDB interface {
4242
GetNonce(common.Address) uint64
4343
GetCode(common.Address) []byte
4444
GetState(common.Address, common.Hash) common.Hash
45+
GetTransientState(common.Address, common.Hash) common.Hash
4546
Exist(common.Address) bool
4647
GetRefund() uint64
4748
}

0 commit comments

Comments
 (0)