Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtinms committed Feb 20, 2024
1 parent d0ce88a commit c323118
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fvm/evm/emulator/emulator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func TestSelfdestruct(t *testing.T) {
// setup the test with funded account and deploying a selfdestruct contract.
RunWithNewEmulator(t, backend, rootAddr, func(env *emulator.Emulator) {
RunWithNewBlockView(t, env, func(blk types.BlockView) {
_, err := blk.DirectCall(types.NewDepositCall(testAddress, startBalance))
_, err := blk.DirectCall(types.NewDepositCall(testAddress, startBalance, 0))
require.NoError(t, err)
})

Expand All @@ -414,7 +414,8 @@ func TestSelfdestruct(t *testing.T) {
testAddress,
testContract.ByteCode,
math.MaxUint64,
deployBalance),
deployBalance,
0),
)
require.NoError(t, err)
contractAddr = res.DeployedContractAddress
Expand Down

0 comments on commit c323118

Please sign in to comment.