Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Nov 17, 2023
1 parent 3720746 commit bfb620f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions itests/fevm_address_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,6 @@ func createAndDeploy(ctx context.Context, t *testing.T, client *kit.TestFullNode
return receipt
}

func getEthAddressTX(ctx context.Context, t *testing.T, client *kit.TestFullNode, wait *api.MsgLookup, ethAddr ethtypes.EthAddress) ethtypes.EthAddress {
// Check if eth address returned from CreateExternal is the same as eth address predicted at the start
var createExternalReturn eam.CreateExternalReturn
err := createExternalReturn.UnmarshalCBOR(bytes.NewReader(wait.Receipt.Return))
require.NoError(t, err)

createdEthAddr, err := ethtypes.CastEthAddress(createExternalReturn.EthAddress[:])
require.NoError(t, err)
return createdEthAddr
}

func TestAddressCreationBeforeDeploy(t *testing.T) {
ctx, cancel, client := kit.SetupFEVMTest(t)
defer cancel()
Expand Down

0 comments on commit bfb620f

Please sign in to comment.