Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-manuel committed Jul 22, 2024
1 parent 66ae6b0 commit d7d981f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/fork/MigrationActions.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ contract MigrateSDaiAssetsToNstIntegrationTest is MigrationActionsIntegrationTes
dai.approve(SDAI, amount);
sdai.deposit(amount, address(this));

// Warp to accrue value in both sDAI adn sNST after drip is called on sDAI deposit
// Warp to accrue value in both sDAI and sNST after drip is called on sDAI deposit
skip(2 hours);

// Get the expected amount to be sucked from the vat on `drip` in withdraw call in sDAI
Expand Down Expand Up @@ -268,7 +268,7 @@ contract MigrateSDaiSharesToNstIntegrationTest is MigrationActionsIntegrationTes
dai.approve(SDAI, amount);
sdai.deposit(amount, address(this));

// Warp to accrue value in both sDAI adn sNST after drip is called on sDAI deposit
// Warp to accrue value in both sDAI and sNST after drip is called on sDAI deposit
skip(2 hours);

// Get the expected amount to be sucked from the vat on `drip` in withdraw call in sDAI
Expand Down Expand Up @@ -333,7 +333,7 @@ contract MigrateSDaiAssetsToSNstIntegrationTest is MigrationActionsIntegrationTe
dai.approve(SDAI, amount);
sdai.deposit(amount, address(this));

// Warp to accrue value in both sDAI adn sNST after drip is called on sDAI deposit
// Warp to accrue value in both sDAI and sNST after drip is called on sDAI deposit
skip(2 hours);

// Get the expected amount to be sucked from the vat on `drip` in withdraw
Expand All @@ -360,7 +360,7 @@ contract MigrateSDaiAssetsToSNstIntegrationTest is MigrationActionsIntegrationTe
uint256 userSNstAssets = snst.convertToAssets(snst.balanceOf(user));
uint256 expectedDebt = debt + daiDripAmount + nstDripAmount * 1e27;

assertApproxEqAbs(userSNstAssets, amount, 2); // User gets specified amount of sNST (conversion rounding x1)
assertApproxEqAbs(userSNstAssets, amount, 2); // User gets specified amount of sNST (conversion rounding x2)
assertApproxEqAbs(newUserSDaiAssets, userSDaiAssets - amount, 2); // Users sDAI position reflected (conversion rounding x2)
assertApproxEqAbs(vat.debt(), expectedDebt, 0); // Vat accounting constant outside of sDAI and nNST accrual (exact)]
assertApproxEqAbs(_getSumSupply(), sumSupply, 4); // Total supply of ERC-20 assets constant (conversion rounding x4, totalAssets twice)
Expand Down Expand Up @@ -403,7 +403,7 @@ contract MigrateSDaiSharesToSNstIntegrationTest is MigrationActionsIntegrationTe
dai.approve(SDAI, amount);
sdai.deposit(amount, address(this));

// Warp to accrue value in both sDAI adn sNST after drip is called on sDAI deposit
// Warp to accrue value in both sDAI and sNST after drip is called on sDAI deposit
skip(2 hours);

// Get the expected amount to be sucked from the vat on `drip` in withdraw
Expand Down

0 comments on commit d7d981f

Please sign in to comment.