Skip to content

Commit

Permalink
precompile/contract: remove unneeded method from StateDB interface (#442
Browse files Browse the repository at this point in the history
)
  • Loading branch information
darioush authored Jan 4, 2024
1 parent 770fe97 commit e771e2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion core/vm/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ type StateDB interface {

Suicide(common.Address) bool
HasSuicided(common.Address) bool
Finalise(deleteEmptyObjects bool)

// Exist reports whether the given account exists in state.
// Notably this should also return true for suicided accounts.
Expand Down
1 change: 0 additions & 1 deletion precompile/contract/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ type StateDB interface {
GetTxHash() common.Hash

Suicide(common.Address) bool
Finalise(deleteEmptyObjects bool)

Snapshot() int
RevertToSnapshot(int)
Expand Down

0 comments on commit e771e2a

Please sign in to comment.