Skip to content

Commit

Permalink
added some comments'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zayen-X committed Dec 13, 2021
1 parent 6b165b7 commit b4a71ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/dapp_test/src/Staking.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ contract StakingTest is DSTest {
// Move into next rebase window
hevm.warp(EPOCH_LENGTH);

// Post initial rebase, distribution amount is 0, so sOHM balance doens't change.
uint256 ohmBalance = ohm.balanceOf(address(this));
uint256 sOhmBalance = sohm.balanceOf(address(this));

assertEq(ohmBalance, 0);
assertEq(sOhmBalance, amount); //
assertEq(sOhmBalance, amount);

sohm.approve(address(staking), sOhmBalance);
// TODO: this fails because the staking contract doesn't have enough ohm to gibb.
Expand Down

0 comments on commit b4a71ea

Please sign in to comment.