Skip to content

Commit

Permalink
sign commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ilinzweilin committed Aug 17, 2023
1 parent e377984 commit 58ac242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Admin.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,12 @@ contract AdminTest is Test {
assertEq(gateway.wards(spell), 1);
}


function testShortRelyFailsBefore24hours() public {
address spell = vm.addr(1);
centChainLiquidityPools.incomingScheduleUpgrade(spell);
vm.warp(block.timestamp + shortWait - 1 hours);
vm.expectRevert("Gateway/user-not-ready");
vm.expectRevert("Gateway/user--not-ready");
gateway.executeScheduledRely(spell);
}

Expand Down

0 comments on commit 58ac242

Please sign in to comment.