Skip to content

Commit

Permalink
remove history expiry assumption
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbuild3r committed Aug 21, 2023
1 parent 1416360 commit 0898229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/PolygonStateBridge.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ contract PolygonStateBridgeTest is PRBTest, StdCheats {
/// @notice tests whether the StateBridge contract can set root history expiry on Optimism and Polygon
/// @param _rootHistoryExpiry The new root history expiry for OpWorldID and PolygonWorldID
function test_owner_setRootHistoryExpiryPolygon_succeeds(uint256 _rootHistoryExpiry) public {
vm.assume(_rootHistoryExpiry != 0 && owner != address(0));
vm.assume(owner != address(0));

vm.expectEmit(true, true, true, true);
emit SetRootHistoryExpiry(_rootHistoryExpiry);
Expand Down

0 comments on commit 0898229

Please sign in to comment.