Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add tests #6

Merged
merged 12 commits into from
Oct 17, 2024
Merged

test: add tests #6

merged 12 commits into from
Oct 17, 2024

Conversation

Jean-Grimal
Copy link
Contributor

@Jean-Grimal Jean-Grimal commented Oct 15, 2024

Capture d’écran 2024-10-16 à 17 33 44

pretty high coverage

Only function not covered is _getTotalSupply because it is never called throughout the code, that's why i created this issue #9

address newImplem = address(new MorphoToken());

vm.expectRevert();
newMorpho.upgradeToAndCall(newImplem, hex"");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's also the upgrade function I think

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test/MorphoToken.t.sol Show resolved Hide resolved
test/MorphoToken.t.sol Outdated Show resolved Hide resolved
test/MorphoToken.t.sol Outdated Show resolved Hide resolved
test/MorphoTokenMigration.t.sol Outdated Show resolved Hide resolved
@Jean-Grimal Jean-Grimal marked this pull request as ready for review October 17, 2024 14:31
@Jean-Grimal Jean-Grimal merged commit 179307a into feat/delegation Oct 17, 2024
0 of 2 checks passed
Jean-Grimal added a commit that referenced this pull request Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants