Skip to content

Commit

Permalink
chore: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Jul 30, 2024
1 parent d91cc1b commit 2b986dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions l1-contracts/test/Rollup.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ contract RollupTest is DecoderBase {
bytes32 archive = data.archive;

vm.expectRevert(abi.encodeWithSelector(Errors.Rollup__TryingToProveNonExistingBlock.selector));
rollup.submitProof(header, archive, "", "");
rollup.submitProof(header, archive, bytes32(0), "", "");
}

function testSubmitProofInvalidArchive() public {
Expand All @@ -205,7 +205,7 @@ contract RollupTest is DecoderBase {
Errors.Rollup__InvalidArchive.selector, rollup.archiveAt(1), 0xdeadbeef
)
);
rollup.submitProof(header, archive, "", "");
rollup.submitProof(header, archive, bytes32(0), "", "");
}

function testSubmitProofInvalidProposedArchive() public {
Expand All @@ -222,7 +222,7 @@ contract RollupTest is DecoderBase {
vm.expectRevert(
abi.encodeWithSelector(Errors.Rollup__InvalidProposedArchive.selector, archive, badArchive)
);
rollup.submitProof(header, badArchive, "", "");
rollup.submitProof(header, badArchive, bytes32(0), "", "");
}

function _testBlock(string memory name, bool _submitProof) public {
Expand All @@ -244,7 +244,7 @@ contract RollupTest is DecoderBase {
rollup.process(header, archive);

if (_submitProof) {
rollup.submitProof(header, archive, "", "");
rollup.submitProof(header, archive, bytes32(0), "", "");

assertTrue(
rollup.isBlockProven(full.block.decodedHeader.globalVariables.blockNumber),
Expand Down

0 comments on commit 2b986dd

Please sign in to comment.