-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ctb: Break out Safe deployment from configuration #10615
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @maurelian and the rest of your teammates on |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #10615 +/- ##
============================================
- Coverage 42.36% 29.22% -13.15%
============================================
Files 73 31 -42
Lines 4836 2898 -1938
Branches 766 614 -152
============================================
- Hits 2049 847 -1202
+ Misses 2680 1976 -704
+ Partials 107 75 -32
Flags with carried forward coverage won't be shown. Click here to find out more. |
WalkthroughWalkthroughThe recent update focuses on enhancing the deployment and configuration processes for various modules like the Foundation Safe, Security Council Safe, Deputy Guardian Module, and Liveness Module in Changes
Recent Review DetailsConfiguration used: .coderabbit.yml Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
5c7a50d
to
8dec833
Compare
Semgrep found 1 Please create a GitHub ticket for this TODO. Ignore this finding from todos_require_linear. |
…10615) * ctb: Break out Safe deployment from configuration * ctb: Natspec fixes
TL;DR
This Pull Request breaks down the 'DeployOwnership' script into clearer and more purposeful functions.
What changed?
The
deployAndConfigureFoundationSafe
anddeployAndConfigureSecurityCouncilSafe
functions are split into separate functions for deploying and configuring the safes.This allows for a clearer understanding of the steps taken during the deployment process.
How to test?
This is tested by
DeployOwnership.t.sol
.Why make this change?
This refactoring improves the code readability and maintainability by separating the deployment process into distinct stages.