From 8273f7c3f377c2e04a0422e1b1617c01c2247a43 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Wed, 30 Oct 2024 22:19:34 +0100 Subject: [PATCH] add another comment Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com> --- core/state_processor_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/state_processor_test.go b/core/state_processor_test.go index c3e99f9871..0f277db1f2 100644 --- a/core/state_processor_test.go +++ b/core/state_processor_test.go @@ -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") }