-
Notifications
You must be signed in to change notification settings - Fork 45
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
Rb/truffle to foundry #595
Conversation
Pull Request Test Coverage Report for Build 2663238582
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one non-blocking comment. Other than that, looks all good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah actually it would be great to add additional tests for the reduced coverage - https://coveralls.io/builds/50828602
Should be small only
The only reason why the coverage dropped is because the package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha! Thanks for the note.
What does this pull request do? Explain your changes. (required)
Since the protocol repo has been gradually adopting Foundry to run Solidity-based tests - which provides a better alternative to Truffle-, the PR refactors the current truffle-based Solidity tests so that they can be run as part of the Foundry codebase.
Specific updates (required)
runSolidityTest
helperHow did you test each of these updates (required)
Successfully run
yarn test
andforge test -v --match-contract Test
to test all the new foundry-based unit testsDoes this pull request close any open issues?
#576
Checklist:
yarn test
pass