Skip to content

Commit

Permalink
uncomment lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ControlCplusControlV committed Jul 21, 2024
1 parent c1d5d45 commit c7d86f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/BaseCaptiveTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract BaseCaptiveTest is Test {
address public User02 = address(0x2);

function setUp() public {
uint256 mainnetFork = vm.createFork("https://ethereum-mainnet.g.allthatnode.com/archive/evm");
uint256 mainnetFork = vm.createFork("https://eth.llamarpc.com");
vm.selectFork(mainnetFork);
vm.rollFork(20185705);

Expand Down
4 changes: 2 additions & 2 deletions test/UnitTests.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ contract UnitTests is BaseCaptiveTest {
function testZeroDeposit() public {
vm.expectRevert();
foldCaptiveStaking.deposit(0, 0, 0);
// (uint128 amount,,,) = foldCaptiveStaking.balances(User01);
// assertEq(amount, 0);
(uint128 amount,,,) = foldCaptiveStaking.balances(User01);
assertEq(amount, 0);
}

function testReentrancy() public {
Expand Down

0 comments on commit c7d86f9

Please sign in to comment.