Skip to content

Commit

Permalink
fix for failing test after address change
Browse files Browse the repository at this point in the history
  • Loading branch information
iChristwin committed Apr 12, 2024
1 parent df1db18 commit 34d2182
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/Solaxy.invariant.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ contract SolaxyInvarantTest is Test {
handlerAddress = address(handler);

deal(sDAI_address, handlerAddress, sDAI_balanceOneBillion, true);
dealERC721(address(SLX.M3TER()), handlerAddress, 1);
dealERC721(address(SLX.M3TER()), handlerAddress, 0);
targetContract(handlerAddress);
}

Expand Down
2 changes: 1 addition & 1 deletion test/Solaxy.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ contract SolaxyUnitTest is Test {
}

function testM3terHolderDepositAndWithdraw() public {
dealERC721(address(SLX.M3TER()), here, 1);
dealERC721(address(SLX.M3TER()), here, 0);
uint256 SLX_InitialBalance = SLX.balanceOf(here);
uint256 sDAI_initialBalance = sDAI.balanceOf(SLX_address);

Expand Down

0 comments on commit 34d2182

Please sign in to comment.