core/tracing: add GetTransientState method to StateDB interface (#30531)

Allows live custom tracers to access contract transient storage through the StateDB interface.
pull/30572/head
Karol Chojnowski 2 months ago committed by GitHub
parent 5b393ac85a
commit 16bf471151
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      core/tracing/hooks.go

@ -43,6 +43,7 @@ type StateDB interface {
GetNonce(common.Address) uint64 GetNonce(common.Address) uint64
GetCode(common.Address) []byte GetCode(common.Address) []byte
GetState(common.Address, common.Hash) common.Hash GetState(common.Address, common.Hash) common.Hash
GetTransientState(common.Address, common.Hash) common.Hash
Exist(common.Address) bool Exist(common.Address) bool
GetRefund() uint64 GetRefund() uint64
} }

Loading…
Cancel
Save