Skip to content

Commit

Permalink
Use random to address in testutils
Browse files Browse the repository at this point in the history
  • Loading branch information
natebeauregard committed Sep 18, 2024
1 parent d537f0e commit aef7d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testutils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func GenerateERC20DepositTx(t *testing.T, tokenAddr, userAddr common.Address, am
)
require.NoError(t, err)

to := common.HexToAddress("0x7F8E9D0C1B2A3D4E5F6A7B8C9D0E1F2A3B4C5D6E")
to := testutils.RandomAddress(rng)
depositTx := &gethtypes.DepositTx{
// TODO: remove hardcoded address once a genesis state is configured
// L2 aliased L1CrossDomainMessenger proxy address
Expand Down

0 comments on commit aef7d65

Please sign in to comment.