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

Disable semgrep scan local #115

Closed
wants to merge 1 commit into from
Closed

Disable semgrep scan local #115

wants to merge 1 commit into from

Conversation

qzhodl
Copy link

@qzhodl qzhodl commented Dec 7, 2024

Why it failed

CircleCI failed when running on the default branch op-es because it performs a full scan for the default branch, whereas it does an incremental scan (smart contract files from the latest commit) on PR branches. As a result, the PR branch succeeded, but the default branch failed.

What is semgrep

semgrep is a static analysis tool that scans files using user-defined rules. In this repository, it scans all Solidity files based on the rules defined here

What are the errors

The error report is available here.

The report lists 40 findings where SoulGasToken.sol does not follow OP’s code style guidelines. For example:Named inputs to functions must be prepended with an underscore

What is done

Filed an issue to track this.

@blockchaindevsh
Copy link
Collaborator

Is it still required after #116 is merged?

@qzhodl
Copy link
Author

qzhodl commented Dec 8, 2024

Is it still required after #116 is merged?

It will be not required anyone

@blockchaindevsh
Copy link
Collaborator

Close since the issue is solved by #116.

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