-
Notifications
You must be signed in to change notification settings - Fork 14
feat: set constant from public to internal #260
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
Conversation
… functionality and proxy updates
… in proxy upgrade script
…xecPocoAccessorsFacet
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.
Pull Request Overview
Changes the visibility of protocol constants from public
to internal
in the facet base contracts and removes the corresponding public accessor functions from the legacy accessor facet.
- Updated constant visibility from
public
tointernal
in FacetBase contracts - Removed the entire IexecAccessorsFacet.sol file containing public constant accessor functions
- Added deployment script logic to remove specific constant functions from the legacy constants facet
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
scripts/upgrades/accessors/deploy-and-update-accessor-facet.ts | Adds logic to remove specific constant getter functions from the legacy constants facet during upgrade |
contracts/facets/IexecAccessorsFacet.sol | Completely removes the legacy accessor facet file |
contracts/facets/FacetBase.v8.sol | Changes constant visibility from public to internal |
contracts/facets/FacetBase.sol | Changes constant visibility from public to internal |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #260 +/- ##
==========================================
+ Coverage 83.66% 84.44% +0.78%
==========================================
Files 38 37 -1
Lines 1218 1209 -9
Branches 227 227
==========================================
+ Hits 1019 1021 +2
+ Misses 199 188 -11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
… mapping in deploy script
…pt for IexecPocoAccessorsFacet
…y for new facet integration
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.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…O comment for migration
…loy-and-update-accessor-facet script
…tions in deploy-and-update-accessor-facet script
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.
Good job thank you
… deploy-and-update-accessor-facet script
Uh oh!
There was an error while loading. Please reload this page.