8000 Add COMP to CCIP by MishaShWoof · Pull Request #148 · woof-software/comet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add COMP to CCIP #148

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
wants to merge 141 commits into
base: main
Choose a base branch
from
Open

Add COMP to CCIP #148

wants to merge 141 commits into from

Conversation

MishaShWoof
Copy link
Collaborator

No description provided.

Comment on lines +24 to +26
constructor(address l2Router_) {
l2Router = l2Router_;
}

Check warning

Code scanning / Semgrep OSS

Semgrep Finding: compound.solidity.missing-constructor-sanity-checks Warning

There're no sanity checks for the constructor argument l2Router_.
Comment on lines +24 to +26
constructor(address l2Router_) {
l2Router = l2Router_;
}

Check notice

Code scanning / Semgrep OSS

Semgrep Finding: rules.solidity.performance.non-payable-constructor Note

Consider making costructor payable to save gas.
}

function toAddress(bytes memory data) public pure returns (address addr) {
require(data.length >= 20, "Invalid data length");

Check notice

Code scanning / Semgrep OSS

Semgrep Finding: rules.solidity.performance.use-custom-error-not-require Note

Consider using custom errors as they are more gas efficient while allowing developers
to describe the error in detail using NatSpec.
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
0