Skip to content

contracts/ccip/ccip: validate account address lengths#220

Closed
cfal wants to merge 6 commits intodevelopfrom
svm-accounts-length
Closed

contracts/ccip/ccip: validate account address lengths#220
cfal wants to merge 6 commits intodevelopfrom
svm-accounts-length

Conversation

@cfal
Copy link
Collaborator

@cfal cfal commented Jun 12, 2025

No description provided.

@cfal cfal requested a review from JohnChangUK June 12, 2025 15:43
@cfal cfal temporarily deployed to integration June 12, 2025 15:43 — with GitHub Actions Inactive
pad_svm_address(&mut token_receiver);
assert!(
token_receiver.length() == 32,
error::invalid_argument(E_INVALID_SVM_TOKEN_RECEIVER_LENGTH)
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer not to use these error::() wrappers as it makes writing test cases harder, as it will produce an erroneous error code which you have to convert from decimal to hex.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we are consistently using them across CCIP though

Copy link
Contributor

Choose a reason for hiding this comment

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

I see, we can keep this for now

@JohnChangUK JohnChangUK enabled auto-merge (squash) June 16, 2025 18:50
@cfal cfal temporarily deployed to integration June 20, 2025 12:42 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

This PR is stale because it has been open days with no activity.
Remove the stale label, comment, or update this PR to prevent this PR from being closed in days.

@github-actions github-actions bot added the Stale label Feb 27, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

This PR has been automatically closed because it had been stale for > days.
If you wish to continue working on this PR, please reopen it to make any necessary changes.

@github-actions github-actions bot closed this Mar 6, 2026
auto-merge was automatically disabled March 6, 2026 00:11

Pull request was closed

@github-actions github-actions bot deleted the svm-accounts-length branch March 6, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants