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

Add 1.5.1 pools #1551

Merged
merged 9 commits into from
Nov 29, 2024
Merged

Add 1.5.1 pools #1551

merged 9 commits into from
Nov 29, 2024

Conversation

RensR
Copy link
Collaborator

@RensR RensR commented Nov 28, 2024

No description provided.

Copy link
Contributor

github-actions bot commented Nov 28, 2024

Static analysis results are available

Hey @RensR, you can view Slither reports in the job summary here or download them as artifact here.

Please check them before merging and make sure you have addressed all issues.

@RensR RensR requested review from a team as code owners November 28, 2024 17:21
@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

/// Example:
/// Assume there is a token with 6 decimals on chain A and 3 decimals on chain B.
/// - 1.123456 tokens are burned on chain A.
/// - 1.234 tokens are minted on chain B.
Copy link
Collaborator

Choose a reason for hiding this comment

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

q: shouldn't it be 1.123?

@@ -78,7 +78,7 @@ contract USDCTokenPool is TokenPool, ITypeAndVersion {
address[] memory allowlist,
address rmnProxy,
address router
) TokenPool(token, allowlist, rmnProxy, router) {
) TokenPool(token, 6, allowlist, rmnProxy, router) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: use constant instead of magic number

import {HybridLockReleaseUSDCTokenPool} from "../../../../pools/USDC/HybridLockReleaseUSDCTokenPool.sol";
import {HybridLockReleaseUSDCTokenPoolSetup} from "./HybridLockReleaseUSDCTokenPoolSetup.t.sol";

contract HybridLockReleaseUSDCTokenPool_TransferLiquidity is HybridLockReleaseUSDCTokenPoolSetup {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
contract HybridLockReleaseUSDCTokenPool_TransferLiquidity is HybridLockReleaseUSDCTokenPoolSetup {
contract HybridLockReleaseUSDCTokenPool_transferLiquidity is HybridLockReleaseUSDCTokenPoolSetup {

@RensR RensR merged commit bca2fe0 into ccip-develop Nov 29, 2024
166 of 167 checks passed
@RensR RensR deleted the import-1.5.1-pools branch November 29, 2024 11:57
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.

5 participants