Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
3esmit committed Sep 11, 2024
1 parent afe08a1 commit 24687c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/StakeManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,9 @@ contract ExecuteAccountTest is StakeManagerTest {
stakeManager.executeEpoch();
vm.warp(stakeManager.epochEnd());

//expected MP is, the starting totalMP + the calculatedMPToMint of user balance for one EPOCH_SIZE multiplied by 2.
uint256 expectedMP = totalMP + (stakeManager.calculateMPToMint(stakeAmount, stakeManager.EPOCH_SIZE())*2);
//expected MP is, the starting totalMP + the calculatedMPToMint of user balance for one EPOCH_SIZE multiplied by
// 2.
uint256 expectedMP = totalMP + (stakeManager.calculateMPToMint(stakeAmount, stakeManager.EPOCH_SIZE()) * 2);
stakeManager.executeAccount(address(userVaults[0]), stakeManager.currentEpoch() + 1);
(,,, totalMP, lastMint,, epoch,) = stakeManager.accounts(address(userVaults[0]));

Expand Down

0 comments on commit 24687c1

Please sign in to comment.