Update interface.go

This commit is contained in:
Klimov Sergey 2025-05-12 15:04:58 +08:00 committed by GitHub
parent 035ecafc22
commit f489ee5550
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,6 +69,7 @@ type StateDB interface {
SelfDestruct6780(common.Address) (uint256.Int, bool) SelfDestruct6780(common.Address) (uint256.Int, bool)
// Exist reports whether the given account exists in state. // Exist reports whether the given account exists in state.
// Notably this also returns true for self-destructed accounts within the current transaction.
Exist(common.Address) bool Exist(common.Address) bool
// Empty returns whether the given account is empty. Empty // Empty returns whether the given account is empty. Empty
// is defined according to EIP161 (balance = nonce = code = 0). // is defined according to EIP161 (balance = nonce = code = 0).