Skip to content

Commit

Permalink
contracts-bedrock: fix CrossL2Inbox.t.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfuturistic committed Mar 22, 2024
1 parent 67d5469 commit 113e2ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/contracts-bedrock/test/L2/CrossL2Inbox.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ contract CrossL2InboxTest is CommonTest {
uint256[] memory chainIds = new uint256[](1);
chainIds[0] = _id.chainId;
vm.prank(depositor);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, 1, chainIds);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, chainIds);
vm.assume(l1Block.isInDependencySet(_id.chainId));

// only EOA invariant
Expand All @@ -60,7 +60,7 @@ contract CrossL2InboxTest is CommonTest {
uint256[] memory chainIds = new uint256[](1);
chainIds[0] = 1;
vm.prank(depositor);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, 1, chainIds);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, chainIds);

ICrossL2Inbox.Identifier memory id = ICrossL2Inbox.Identifier({
origin: address(0),
Expand Down Expand Up @@ -115,7 +115,7 @@ contract CrossL2InboxTest is CommonTest {
uint256[] memory chainIds = new uint256[](1);
chainIds[0] = 1;
vm.prank(depositor);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, 1, chainIds);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, chainIds);

ICrossL2Inbox.Identifier memory id = ICrossL2Inbox.Identifier({
origin: address(0),
Expand All @@ -135,7 +135,7 @@ contract CrossL2InboxTest is CommonTest {
uint256[] memory chainIds = new uint256[](1);
chainIds[0] = block.chainid;
vm.prank(depositor);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, 1, chainIds);
l1Block.setL1BlockValues(0, 0, 0, bytes32(0), 0, bytes32(0), 0, 0, chainIds);

ICrossL2Inbox.Identifier memory id = ICrossL2Inbox.Identifier({
origin: address(0),
Expand Down

0 comments on commit 113e2ac

Please sign in to comment.