Skip to content

op-proposer: remove dep on op-bindings#10218

Merged
tynes merged 1 commit intodevelopfrom
proposer/bindings
Apr 19, 2024
Merged

op-proposer: remove dep on op-bindings#10218
tynes merged 1 commit intodevelopfrom
proposer/bindings

Conversation

@tynes
Copy link
Contributor

@tynes tynes commented Apr 18, 2024

Description

Prepares the op-proposer to no longer depend
on the op-bindings package. This will enable
releases of the op-proposer to work with specific
releases of the contracts more easily by using abigen
at a specific release of the contracts to create bindings.

We will be gutting op-bindings as a package because
it is not versioned, implying all versions must be backwards
and forwards compatible. It also adds a lot of overhead to
smart contract development with having to create the bindings
and commit in a diff every time there is a solidity source file
change.

Prepares the `op-proposer` to no longer depend
on the `op-bindings` package. This will enable
releases of the `op-proposer` to work with specific
releases of the contracts more easily by using `abigen`
at a specific release of the contracts to create bindings.

We will be gutting `op-bindings` as a package because
it is not versioned, implying all versions must be backwards
and forwards compatible. It also adds a lot of overhead to
smart contract development with having to create the bindings
and commit in a diff every time there is a solidity source file
change.
@tynes tynes requested a review from a team as a code owner April 18, 2024 23:56
@tynes tynes requested a review from trianglesphere April 18, 2024 23:56
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Apr 18, 2024

Warning

Rate Limit Exceeded

@tynes has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 32 minutes and 47 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.

Commits Files that changed from the base of the PR and between 2f632e3 and 3e1d6f2.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@protolambda protolambda enabled auto-merge April 19, 2024 00:10
@protolambda protolambda added this pull request to the merge queue Apr 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 19, 2024
@tynes tynes added this pull request to the merge queue Apr 19, 2024
Merged via the queue into develop with commit dc829a3 Apr 19, 2024
@tynes tynes deleted the proposer/bindings branch April 19, 2024 01:03
tynes added a commit that referenced this pull request Apr 19, 2024
Removes the `op-challenger` from requiring the global bindings.
This allows the service to be explicit about contract versions
that it supports. The `op-bindings` were not versioned and
added a lot of pain when it came to smart contract development
as they needed to always be updated.

Follows:
- #10213
- #10218
tynes added a commit that referenced this pull request Apr 19, 2024
Removes the dependency on the `op-bindings/bindings` package.
This is to improve devex in the monorepo and reduce CI time
as maintaining the bindings autogenerated in each PR just
doesn't scale. Now each service is responsible for their own
bindings. In the future, we can work towards releases of
the bindings when contracts are released.

Follows:
- #10213
- #10218
- #10221
@tynes tynes mentioned this pull request Apr 19, 2024
tynes added a commit that referenced this pull request Apr 23, 2024
Removes the dependency on the `op-bindings/bindings` package.
This is to improve devex in the monorepo and reduce CI time
as maintaining the bindings autogenerated in each PR just
doesn't scale. Now each service is responsible for their own
bindings. In the future, we can work towards releases of
the bindings when contracts are released.

Follows:
- #10213
- #10218
- #10221
github-merge-queue bot pushed a commit that referenced this pull request Apr 23, 2024
* indexer: remove bindings

Removes the dependency on the `op-bindings/bindings` package.
This is to improve devex in the monorepo and reduce CI time
as maintaining the bindings autogenerated in each PR just
doesn't scale. Now each service is responsible for their own
bindings. In the future, we can work towards releases of
the bindings when contracts are released.

Follows:
- #10213
- #10218
- #10221

* indexer: add missing binding
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.

2 participants