From 3443c8b55efbf47603c5b61792d6d0b072976a1d Mon Sep 17 00:00:00 2001 From: bitcoin-lightning <153181187+AtomicInnovation321@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:58:02 +0800 Subject: [PATCH 1/2] Update statedb_hooked_test.go --- core/state/statedb_hooked_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/statedb_hooked_test.go b/core/state/statedb_hooked_test.go index 9abd76b02db8..5f82ed06d0f1 100644 --- a/core/state/statedb_hooked_test.go +++ b/core/state/statedb_hooked_test.go @@ -35,7 +35,7 @@ func TestBurn(t *testing.T) { // the following occur: // 1. contract B creates contract A // 2. contract A is destructed - // 3. constract B sends ether to A + // 3. contract B sends ether to A var burned = new(uint256.Int) s, _ := New(types.EmptyRootHash, NewDatabaseForTesting()) From 0a16b27e1b3ad426befed03634473c020c75b665 Mon Sep 17 00:00:00 2001 From: bitcoin-lightning <153181187+AtomicInnovation321@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:59:06 +0800 Subject: [PATCH 2/2] Update verkle_witness_test.go --- core/verkle_witness_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/verkle_witness_test.go b/core/verkle_witness_test.go index 5a4210cdabe3..b3088f0f901d 100644 --- a/core/verkle_witness_test.go +++ b/core/verkle_witness_test.go @@ -338,7 +338,7 @@ func TestProcessVerkleInvalidContractCreation(t *testing.T) { } } } else if bytes.Equal(stemStateDiff.Stem[:], tx1ContractStem) { - // For this contract creation, check that only the accound header and storage slot 41 + // For this contract creation, check that only the account header and storage slot 41 // are found in the witness. for _, suffixDiff := range stemStateDiff.SuffixDiffs { if suffixDiff.Suffix != 105 && suffixDiff.Suffix != 0 && suffixDiff.Suffix != 1 {