Skip to content

Conversation

@Le-Caignec
Copy link
Contributor

@Le-Caignec Le-Caignec commented Oct 29, 2025

This PR upgrades OpenZeppelin Contracts from version 3.3.0 to 5.4.0 by removing the dual-version setup (@openzeppelin/contracts v3.3.0 and @openzeppelin/contracts-v5 alias) in favor of a single v5 installation.

Le-Caignec and others added 17 commits October 28, 2025 13:03
…y, and WorkerpoolRegistry for enhanced deployment handling
…y documentation for Iexec interfaces and methods
…f JSON files and updating initialization logic in Registry contract
…y documentation for new methods in Iexec contracts
…acet to prevent underflow and ensure backward compatibility
…ns and adding new contract interfaces for improved clarity and organization
Copilot AI review requested due to automatic review settings October 29, 2025 08:19
Copy link
Contributor

Copilot AI left a 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 upgrades OpenZeppelin Contracts from version 3.3.0 to 5.4.0 by removing the dual-version setup (@openzeppelin/contracts v3.3.0 and @openzeppelin/contracts-v5 alias) in favor of a single v5 installation. The change removes a custom TimelockController implementation and adopts the official OpenZeppelin v5 TimelockController contract.

Key changes:

  • Replaced dual OpenZeppelin package setup with single v5.4.0 version
  • Updated all import paths from @openzeppelin/contracts-v5 to @openzeppelin/contracts
  • Removed custom TimelockController contract (Solidity 0.6) in favor of OpenZeppelin's v5 implementation
  • Updated hardhat config to compile OpenZeppelin's TimelockController for deployment

Reviewed Changes

Copilot reviewed 22 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Updated OpenZeppelin dependency from dual v3.3.0/v5.0.2 setup to single v5.4.0, removed TimelockController exclusion
package-lock.json Updated lock file to reflect new OpenZeppelin v5.4.0 dependency resolution
hardhat.config.ts Updated import paths and added OpenZeppelin TimelockController to external compilation list
contracts/tools/TimelockController.sol Removed custom Solidity 0.6 implementation
contracts/registries/*.sol Updated import paths from @openzeppelin/contracts-v5 to @openzeppelin/contracts
contracts/libs/PocoStorageLib.sol Updated IERC20 import path
contracts/facets/*.sol Updated all OpenZeppelin import paths and reformatted IexecPoco1Facet contract declaration
contracts/tools/testing/*.sol Updated mock contract import paths
abis/contracts/registries/*.json Updated error definitions to match OpenZeppelin v5 (renamed Create2* errors to match new naming)
abis/contracts/facets/IexecPoco2Facet.json Removed MathOverflowedMulDiv error (no longer exposed in v5)
docs/solidity/index.md Reorganized documentation sections (content unchanged, only ordering)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Le-Caignec Le-Caignec changed the title Feat/clean dep feat: clean OpenZeppelin dual-version setup Oct 29, 2025
@Le-Caignec Le-Caignec marked this pull request as ready for review October 29, 2025 08:41
Copilot AI review requested due to automatic review settings October 29, 2025 08:42
Copy link
Contributor

Copilot AI left a 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 23 out of 24 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Le-Caignec Le-Caignec self-assigned this Oct 29, 2025
Copy link
Contributor

Copilot AI left a 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 36 out of 37 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…ith new error handling and function signatures. Add new error definitions in Errors.sol and Strings.sol. Introduce IERC165 and ERC165 interfaces. Update ERC20, ERC721, and related interfaces to reflect current standards. Enhance error handling in various contracts, including Create2 and ECDSA.
…arious platforms including solidity analyzers for darwin, freebsd, linux, and win32 environments
Copilot AI review requested due to automatic review settings November 4, 2025 16:17
Copy link
Contributor

Copilot AI left a 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 49 out of 67 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Base automatically changed from feature/make-v8-migration-non-breaking to chore/solidity-v8 November 6, 2025 14:05
- Deleted the deploy-timelock.ts script as it is no longer needed.
- Removed goerli.sh and mainnet.sh scripts for ENS management.
- Deleted getWorker.py script used for score importing.
- Removed sponsoring deployment and module addition scripts along with their README and upgrade status documentation.
- Updated package.json to remove timelock deployment command and adjusted dependencies.
- Modified check-storage.ts to skip contracts from rlc-faucet-contract.
Copilot AI review requested due to automatic review settings November 6, 2025 14:36
Copy link
Contributor

Copilot AI left a 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 43 out of 61 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 6, 2025 16:00
Copy link
Contributor

Copilot AI left a 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 28 out of 49 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zguesmi zguesmi merged commit 7f2865f into chore/solidity-v8 Nov 6, 2025
10 checks passed
@zguesmi zguesmi deleted the feat/clean-dep branch November 6, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants