-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fix/onramp allowlist race condition #1480
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1a40763
fix: add allowListEnabled to DestChainConfigArgs for avoiding race co…
0xsuryansh a16401b
formatting
0xsuryansh b62ed8a
Merge a16401b0e86d0588886d395f8291c67966a51e2f into 7d4f8e56e27faba20…
0xsuryansh a39272f
Update gethwrappers
app-token-issuer-infra-releng[bot] 46d641b
Merge branch 'ccip-develop' into fix/onramp-allowlist-race-condition
0xsuryansh d7e8c4b
Merge branch 'ccip-develop' into fix/onramp-allowlist-race-condition
0xsuryansh 0b96b55
chore: gen wrappers
0xsuryansh a0cc771
add struct packing comment
0xsuryansh 549b19d
add test
0xsuryansh 52162b4
comments fix + making the test simple
0xsuryansh 4ddff04
Merge branch 'ccip-develop' into fix/onramp-allowlist-race-condition
0xsuryansh 6b592cb
chore: wrappers and snapshot
0xsuryansh 1f26f49
Merge branch 'ccip-develop' into fix/onramp-allowlist-race-condition
0xsuryansh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
q: since this is now part of dest chain config args - do we still need it in
allowListConfigArgs
? There are now 2 ways to change the allowlist - is this intended?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.
This just enables it when a new chain it set, to prevent unauthorised access to a private chain. The other method is still required to set the actual permitted addresses
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.
For the first option it makes sense, for the second option - we can always batch 2 MCMS calls:
setDestChainConfigArgs
setAllowlistConfigArgs
Seems slightly redundant to have the flag twice