From d739dc3791beaa3e83c4929fc36d71d8331e6cf7 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:54:05 +0100 Subject: [PATCH] clarify comment Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com> --- core/verkle_witness_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/verkle_witness_test.go b/core/verkle_witness_test.go index e555095c3a..5a4210cdab 100644 --- a/core/verkle_witness_test.go +++ b/core/verkle_witness_test.go @@ -968,9 +968,9 @@ func TestProcessVerkleSelfDestructInSameTxWithSelfBeneficiary(t *testing.T) { contract = crypto.CreateAddress(deployer, 0) ) - // The goal of this test is to test SELFDESTRUCT that happens in a contract - // execution which is created in **the same** transaction sending the remaining - // balance to itself. + // The goal of this test is to test SELFDESTRUCT that happens while executing + // the init code of a contract creation, that occurs in **the same** transaction. + // The balance is sent to itself. t.Logf("Contract: %v", contract.String()) selfDestructContract := []byte{byte(vm.ADDRESS), byte(vm.SELFDESTRUCT)}