-
Notifications
You must be signed in to change notification settings - Fork 29
CCIP-6146 Add chain selector param to ftf hooks #1024
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
Conversation
f46d9fb to
db77807
Compare
# Conflicts: # chains/evm/.gas-snapshot # chains/evm/gobindings/generated/latest/fast_transfer_token_pool/fast_transfer_token_pool.go # chains/evm/gobindings/generation/generated-wrapper-dependency-versions-do-not-edit.txt
|
| // @inheritdoc CCIPReceiver | ||
| function _ccipReceive( | ||
| Client.Any2EVMMessage memory message | ||
| ) internal virtual override onlyRouter { |
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.
If you're making changes like these please provide context. This now looks like major security issue.
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.
The onlyRouter exist in ccipRouter public function, it was my mistake that I added it in the internal function as well
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.
Added the reason behind this change to the PR description
onlyRouterfrom_ccipReceivesince it is redundant with the same check in public function ofCCIPReceiverabstract contract