mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
add another comment
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
This commit is contained in:
parent
a9abf91192
commit
8273f7c3f3
1 changed files with 2 additions and 0 deletions
|
|
@ -1517,6 +1517,8 @@ func TestProcessVerkleSelfDestructInSameTxWithSelfBeneficiary(t *testing.T) {
|
||||||
if balanceStateDiff.CurrentValue != nil {
|
if balanceStateDiff.CurrentValue != nil {
|
||||||
t.Fatal("the pre-state balance before must be nil, since the contract didn't exist")
|
t.Fatal("the pre-state balance before must be nil, since the contract didn't exist")
|
||||||
}
|
}
|
||||||
|
// Ensure that the value is burnt, and therefore that the balance of the self-destructed
|
||||||
|
// contract isn't modified (it should remain missing from the state)
|
||||||
if balanceStateDiff.NewValue != nil {
|
if balanceStateDiff.NewValue != nil {
|
||||||
t.Fatal("the post-state balance after self-destruct must be nil since the contract shouldn't be created at all")
|
t.Fatal("the post-state balance after self-destruct must be nil since the contract shouldn't be created at all")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue