Skip to content

use interfaces in opcm contracts#12217

Merged
maurelian merged 9 commits intodevelopfrom
sc/use-interfaces-in-opcm
Oct 1, 2024
Merged

use interfaces in opcm contracts#12217
maurelian merged 9 commits intodevelopfrom
sc/use-interfaces-in-opcm

Conversation

@AmadiMichael
Copy link
Copy Markdown
Contributor

This PR changes the OPCM contracts to use interfaces and DeployUtils for contract deployments and contract type casting.

@AmadiMichael AmadiMichael marked this pull request as ready for review October 1, 2024 01:54
@AmadiMichael AmadiMichael requested a review from a team as a code owner October 1, 2024 01:54
Copy link
Copy Markdown
Contributor

@smartcontracts smartcontracts left a comment

Choose a reason for hiding this comment

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

Looking really good, since this touches OPCM I'm going to request that @mds1 leave the final approval

@AmadiMichael AmadiMichael requested a review from mds1 October 1, 2024 14:44
Copy link
Copy Markdown
Contributor

@maurelian maurelian left a comment

Choose a reason for hiding this comment

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

Looking really good, since this touches OPCM I'm going to request that @mds1 leave the final approval

I'll take this over for @mds1.

This LGTM and will be ready to merge when the comments are addressed.

@semgrep-app
Copy link
Copy Markdown
Contributor

semgrep-app bot commented Oct 1, 2024

Semgrep found 8 golang_fmt_errorf_no_params findings:

No fmt.Errorf invocations without fmt arguments allowed

Ignore this finding from golang_fmt_errorf_no_params.

Semgrep found 3 dangerous-exec-command findings:

Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code.

Ignore this finding from dangerous-exec-command.

Copy link
Copy Markdown
Contributor

@maurelian maurelian left a comment

Choose a reason for hiding this comment

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

LGTM assuming checks pass.

@maurelian maurelian force-pushed the sc/use-interfaces-in-opcm branch from fdbe4b5 to 8177dbf Compare October 1, 2024 19:35
@maurelian maurelian added this pull request to the merge queue Oct 1, 2024
Merged via the queue into develop with commit a4d81ba Oct 1, 2024
@maurelian maurelian deleted the sc/use-interfaces-in-opcm branch October 1, 2024 21:56
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
* use interfaces in opcm contracts

* fix change

* fix encodeConstructor omission

* fix wrong interface usage

* fix change

* fix change

* remove commented fn

* fix semver conflict issue
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