add another comment

Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
This commit is contained in:
Guillaume Ballet 2024-10-30 22:19:34 +01:00
parent a9abf91192
commit 8273f7c3f3

View file

@ -1517,6 +1517,8 @@ func TestProcessVerkleSelfDestructInSameTxWithSelfBeneficiary(t *testing.T) {
if balanceStateDiff.CurrentValue != nil {
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 {
t.Fatal("the post-state balance after self-destruct must be nil since the contract shouldn't be created at all")
}