Skip to content

Commit

Permalink
Merge pull request #23 from morpho-org/chore/add-view
Browse files Browse the repository at this point in the history
Add view modifier to silence warnings
  • Loading branch information
MerlinEgalite authored Oct 18, 2024
2 parents b922e2c + ff25276 commit e0266d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/MorphoTokenMigration.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ contract MorphoTokenMigrationTest is BaseTest {
new Wrapper(address(0));
}

function testTotalSupply() public {
function testTotalSupply() public view {
assertEq(newMorpho.totalSupply(), 1_000_000_000e18);
}

function testInitialWrapperBalances() public {
function testInitialWrapperBalances() public view {
assertEq(legacyMorpho.balanceOf(address(wrapper)), 0);
assertEq(newMorpho.balanceOf(address(wrapper)), 1_000_000_000e18);
}
Expand Down

0 comments on commit e0266d9

Please sign in to comment.