-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
contracts-bedrock: foundry-ify #6470
Conversation
Move the `contracts` directory to `src` and then move the tests into a top level `test` dir so that its standard foundry style for a repo. This is going to break any in flight PRs so worth trying to get in relatively quickly, will be no fun to rebase a bunch of PRs. Will need to follow up with another commit that bumps the patch versions.
|
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.
King, looks good to me, but will await other's review before approving
@maurelian asked for this this morning |
The only thing that differs is the paths to the contracts
The last thing is the artifacts output path but not changing that as part of this PR as it will require a diff in typescript code |
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.
No bindings changed, so I checked the diff in the storage layout, everything LGTM.
Thanks for this!
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #6470 +/- ##
===========================================
- Coverage 40.74% 40.71% -0.03%
===========================================
Files 466 359 -107
Lines 33509 31360 -2149
Branches 1949 1538 -411
===========================================
- Hits 13652 12769 -883
+ Misses 18379 17154 -1225
+ Partials 1478 1437 -41
Flags with carried forward coverage won't be shown. Click here to find out more. |
Description
Move the
contracts
directory tosrc
and then move the tests into a top leveltest
dir so that itsstandard foundry style for a repo.
This is going to break any in flight PRs so worth trying to get in relatively quickly, will be no fun to rebase a bunch of PRs.
No semver bumps required because no production source code is changing