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

Allows live custom tracers to access contract transient storage through the StateDB interface.
This commit is contained in:
Karol Chojnowski 2024-10-10 13:03:03 +02:00 committed by GitHub
parent 5b393ac85a
commit 16bf471151
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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