Skip to content

Commit

Permalink
Fix solidity test
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Aug 26, 2024
1 parent a23cc41 commit fbbecf5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion l1-contracts/test/Rollup.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ contract RollupTest is DecoderBase {

availabilityOracle.publish(body);

vm.expectRevert(abi.encodeWithSelector(Errors.Rollup__InvalidTimestamp.selector, realTs, badTs));
if (Constants.IS_DEV_NET != 1) {
vm.expectRevert(
abi.encodeWithSelector(Errors.Rollup__InvalidTimestamp.selector, realTs, badTs)
);
}
rollup.process(header, archive, bytes32(0));
}

Expand Down

0 comments on commit fbbecf5

Please sign in to comment.