core: fix typos (#30767)
This commit is contained in:
parent
7c0ff05685
commit
83790b0729
|
@ -35,7 +35,7 @@ func TestBurn(t *testing.T) {
|
||||||
// the following occur:
|
// the following occur:
|
||||||
// 1. contract B creates contract A
|
// 1. contract B creates contract A
|
||||||
// 2. contract A is destructed
|
// 2. contract A is destructed
|
||||||
// 3. constract B sends ether to A
|
// 3. contract B sends ether to A
|
||||||
|
|
||||||
var burned = new(uint256.Int)
|
var burned = new(uint256.Int)
|
||||||
s, _ := New(types.EmptyRootHash, NewDatabaseForTesting())
|
s, _ := New(types.EmptyRootHash, NewDatabaseForTesting())
|
||||||
|
|
|
@ -338,7 +338,7 @@ func TestProcessVerkleInvalidContractCreation(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if bytes.Equal(stemStateDiff.Stem[:], tx1ContractStem) {
|
} 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.
|
// are found in the witness.
|
||||||
for _, suffixDiff := range stemStateDiff.SuffixDiffs {
|
for _, suffixDiff := range stemStateDiff.SuffixDiffs {
|
||||||
if suffixDiff.Suffix != 105 && suffixDiff.Suffix != 0 && suffixDiff.Suffix != 1 {
|
if suffixDiff.Suffix != 105 && suffixDiff.Suffix != 0 && suffixDiff.Suffix != 1 {
|
||||||
|
|
Loading…
Reference in New Issue