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

Allows live custom tracers to access contract transient storage through the StateDB interface.
release/1.14
Karol Chojnowski 1 month ago committed by Martin HS
parent f1ec974e2f
commit e6c1fb329b
  1. 1
      core/tracing/hooks.go

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

Loading…
Cancel
Save