Skip to content

Commit

Permalink
nit: etching comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0aa0 committed Jun 20, 2024
1 parent c81054f commit 6e5074e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/foundry/ERC20Outbox.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ contract ERC20OutboxTest is AbsOutboxTest {

function setUp() public {
// deploy token, bridge and outbox

// hardcoded proof in tests assume that this contract is deployed at the repsective address
IERC20 nativeTokenCode = new ERC20PresetFixedSupply("Appchain Token", "App", 1_000_000, address(this));
nativeToken = IERC20(0xFEfC6BAF87cF3684058D62Da40Ff3A795946Ab06);
vm.etch(address(nativeToken), address(nativeTokenCode).code);
Expand Down Expand Up @@ -55,6 +57,7 @@ contract ERC20OutboxTest is AbsOutboxTest {
);

// create msg receiver on L1
// hardcoded proof in tests assume that this contract is deployed at the repsective address
ERC20L2ToL1Target targetCode = new ERC20L2ToL1Target();
ERC20L2ToL1Target target = ERC20L2ToL1Target(0x87B2d08110B7D50861141D7bBDd49326af3Ecb31);
vm.etch(address(target), address(targetCode).code);
Expand Down

0 comments on commit 6e5074e

Please sign in to comment.