-
Notifications
You must be signed in to change notification settings - Fork 14
feat: v6.2.0 upgrade script
#329
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
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
This PR updates the upgrade infrastructure to perform a Solidity v8 migration for all PoCo facets to version 6.2.0.
Key changes:
- Creates comprehensive upgrade script that removes all existing Solidity v6 facets and deploys new Solidity v8 versions
- Permanently removes the IexecERC20Facet from the codebase
- Updates GitHub Actions workflow to use the new upgrade script
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| scripts/upgrades/v6.2.0.ts | New upgrade script implementing the Solidity v8 migration for all facets on Arbitrum Sepolia and Mainnet |
| scripts/upgrades/v6.2.0.md | Documentation for the v6.2.0 upgrade including summary of changes and deployment log structure |
| .github/workflows/upgrade-facets.yml | Updates workflow to reference the new v6.2.0.ts upgrade script |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
scripts/upgrades/v6.2.0.ts
Outdated
| name: 'IexecAccessorsABILegacyFacet', | ||
| address: null, | ||
| factory: new IexecAccessorsABILegacyFacet__factory(), |
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.
check with user if this ABI legacy facet is still needed
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.
fix Commit: 9d1ec62
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #329 +/- ##
=======================================
Coverage 96.38% 96.38%
=======================================
Files 33 33
Lines 1134 1134
Branches 228 228
=======================================
Hits 1093 1093
Misses 41 41 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…alization for middleware team review
For testing :
On Arbitrum testnet
ARBITRUM_SEPOLIA_FORK=true npx hardhat node --no-deployARBITRUM_SEPOLIA_FORK=true npx hardhat run scripts/upgrades/v6.2.0.ts --network external-hardhatOn Arbitrum One Mainnet
ARBITRUM_FORK=true npx hardhat node --no-deployARBITRUM_FORK=true npx hardhat run scripts/upgrades/v6.2.0.ts --network external-hardhatThose three facets — ,
IexecPoco2Facet,IexecPocoAccessorsFacet, andIexecOrderManagementFacet— are not mandatory to be deployed because nothing has changed in their source code except the import statements.For this PR, I chose to deploy them so that the main branch remains as consistent as possible with the code currently deployed on-chain.