Skip to content
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

open zeppelin v 5 migration #1281

Merged

Conversation

RyanRHall
Copy link
Contributor

Motivation

Use the latest version of deps

Solution

Upgrade OZ deps to latest version

Implementation Notes

IERC20 and SafeERC20 are kept on 4.8.3 because of the ^0.8.20 requirement OZ imposes on the v5 contracts. We can't upgrade these deps until the rest of the contract codebase upgrades to 0.8.20+

Copy link
Contributor

github-actions bot commented Aug 9, 2024

LCOV of commit e7a6e4b during Solidity Foundry #7196

Summary coverage rate:
  lines......: 98.7% (1882 of 1907 lines)
  functions..: 96.4% (347 of 360 functions)
  branches...: 90.6% (797 of 880 branches)

Files changed coverage rate: n/a

@RyanRHall RyanRHall marked this pull request as ready for review August 9, 2024 16:35
@RyanRHall RyanRHall requested review from makramkd, elatoskinas, RayXpub and a team as code owners August 9, 2024 16:35
@RyanRHall RyanRHall changed the title Origin/ccip 2599 open zeppelin v 5 migration open zeppelin v 5 migration Aug 9, 2024
@RyanRHall RyanRHall enabled auto-merge (squash) August 9, 2024 17:31
@@ -20,7 +20,7 @@ import {Pool} from "../libraries/Pool.sol";
import {MultiOCR3Base} from "../ocr/MultiOCR3Base.sol";

import {IERC20} from "../../vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/IERC20.sol";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: I think we can use 5.0.2 here?

@RyanRHall RyanRHall force-pushed the origin/CCIP-2599-open-zeppelin-v-5-migration-2 branch from 2a6398a to 743eec9 Compare August 12, 2024 16:04
@RyanRHall RyanRHall merged commit 83f6d30 into ccip-develop Aug 12, 2024
103 checks passed
@RyanRHall RyanRHall deleted the origin/CCIP-2599-open-zeppelin-v-5-migration-2 branch August 12, 2024 17:44
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

dhaidashenko pushed a commit that referenced this pull request Sep 2, 2024
## Motivation
Use the latest version of deps

## Solution
Upgrade OZ deps to latest version

## Implementation Notes
`IERC20` and `SafeERC20` are kept on `4.8.3` because of the `^0.8.20`
requirement OZ imposes on the v5 contracts. We can't upgrade these deps
until the rest of the contract codebase upgrades to 0.8.20+

---------

Co-authored-by: app-token-issuer-infra-releng[bot] <120227048+app-token-issuer-infra-releng[bot]@users.noreply.github.com>
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