Skip to content

Commit

Permalink
apply PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtinms committed Oct 21, 2024
1 parent 9696e41 commit b7761d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fvm/evm/emulator/state/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,11 @@ func TestBaseView(t *testing.T) {
break
}
require.Equal(t, nonces[acc.Address], acc.Nonce)
delete(nonces, acc.Address)
require.Equal(t, balances[acc.Address].Uint64(), acc.Balance.Uint64())
delete(balances, acc.Address)
require.Equal(t, codeHashes[acc.Address], acc.CodeHash)
delete(codeHashes, acc.Address)
counter += 1
}

Expand Down Expand Up @@ -388,7 +391,9 @@ func TestBaseView(t *testing.T) {
break
}
require.Equal(t, codeByCodeHash[cic.Hash], cic.Code)
delete(codeByCodeHash, cic.Hash)
require.Equal(t, refCountByCodeHash[cic.Hash], cic.RefCounts)
delete(refCountByCodeHash, cic.Hash)
counter += 1
}

Expand Down Expand Up @@ -439,6 +444,7 @@ func TestBaseView(t *testing.T) {
}
require.Equal(t, addr, slot.Address)
require.Equal(t, values[slot.Key], slot.Value)
delete(values, slot.Key)
counter += 1
}

Expand Down

0 comments on commit b7761d7

Please sign in to comment.