From f489ee5550acc1d01db6157b4b3a843a0ecca350 Mon Sep 17 00:00:00 2001 From: Klimov Sergey Date: Mon, 12 May 2025 15:04:58 +0800 Subject: [PATCH] Update interface.go --- core/vm/interface.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/vm/interface.go b/core/vm/interface.go index ccfdec1ab5..86e8c56ab0 100644 --- a/core/vm/interface.go +++ b/core/vm/interface.go @@ -69,6 +69,7 @@ type StateDB interface { SelfDestruct6780(common.Address) (uint256.Int, bool) // 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 // Empty returns whether the given account is empty. Empty // is defined according to EIP161 (balance = nonce = code = 0).