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

OPCM: DeployOPChain additional testing checks. #12355

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

blmalone
Copy link
Contributor

@blmalone blmalone commented Oct 7, 2024

Adding some additional checks PermissionedDisputeGame and AnchorStateRegistryProxy.

Copy link
Contributor Author

blmalone commented Oct 7, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @blmalone and the rest of your teammates on Graphite Graphite

Copy link
Contributor

semgrep-app bot commented Oct 7, 2024

Semgrep found 13 sol-style-malformed-require findings:

  • packages/contracts-bedrock/src/cannon/PreimageOracle.sol
  • packages/contracts-bedrock/scripts/periphery/deploy/DeployPeriphery.s.sol
  • packages/contracts-bedrock/scripts/libraries/DeployUtils.sol
  • packages/contracts-bedrock/scripts/deploy/DeployOwnership.s.sol
  • packages/contracts-bedrock/scripts/deploy/DeployConfig.s.sol
  • packages/contracts-bedrock/scripts/deploy/Deploy.s.sol
  • packages/contracts-bedrock/scripts/deploy/ChainAssertions.sol
  • packages/contracts-bedrock/scripts/autogen/SemverLock.s.sol
  • packages/contracts-bedrock/scripts/DeploySuperchain.s.sol

"challenge period too large" Malformed require statement style.

Ignore this finding from sol-style-malformed-require.

@blmalone blmalone requested a review from mds1 October 7, 2024 18:36
@blmalone blmalone marked this pull request as ready for review October 7, 2024 18:36
@blmalone blmalone requested a review from a team as a code owner October 7, 2024 18:36
Copy link
Contributor

@mds1 mds1 left a comment

Choose a reason for hiding this comment

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

LGTM, just one missing check to add?

@blmalone blmalone enabled auto-merge October 7, 2024 21:36
Copy link
Contributor

semgrep-app bot commented Oct 7, 2024

Semgrep found 4 sol-style-return-arg-fmt findings:

Named return arguments to functions must be appended with an underscore (_)

Ignore this finding from sol-style-return-arg-fmt.

Semgrep found 2 sol-style-malformed-revert findings:

  • packages/contracts-bedrock/scripts/deploy/DeployConfig.s.sol
  • packages/contracts-bedrock/scripts/deploy/Deploy.s.sol

Malformed revert statement style.

Ignore this finding from sol-style-malformed-revert.

Semgrep found 22 sol-style-input-arg-fmt findings:

Inputs to functions must be prepended with an underscore (_)

Ignore this finding from sol-style-input-arg-fmt.

@blmalone blmalone added this pull request to the merge queue Oct 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 7, 2024
@tynes tynes added this pull request to the merge queue Oct 7, 2024
Merged via the queue into develop with commit 078e016 Oct 7, 2024
62 checks passed
@tynes tynes deleted the 10-07-opcm_depolyopchain_additional_testing_checks branch October 7, 2024 23:51
@blmalone blmalone changed the title OPCM: DepolyOPChain additional testing checks. OPCM: DeployOPChain additional testing checks. Oct 8, 2024
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
* OPCM: DepolyOPChain additional testing checks.

* fix: absolute prestate.

* fix: adding to assertions.

* fix: maxClockDuration check added.
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