op-challenger: remove dependency on op-bindings#10221
Conversation
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
WalkthroughWalkthroughThe primary change across the updates involves modifying the import paths from Changes
Recent Review DetailsConfiguration used: .coderabbit.yml Files selected for processing (14)
Files not summarized due to errors (3)
Additional comments not posted (33)
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? TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Additionally, you can add CodeRabbit Configration File (
|
ajsutton
left a comment
There was a problem hiding this comment.
What generated those bindings? How do we update them when the contracts change? How do we ensure they stay in sync as the contracts change (which is a key requirement for fault proofs currently)?
Sorry I'm a little behind on these changes but I want to make sure we don't change things in a way that's going to cause delay shipping fault proofs so am keen to understand more about what's going on here.
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
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: 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
Description
Removes the
op-challengerfrom requiring the global bindings.This allows the service to be explicit about contract versions
that it supports. The
op-bindingswere not versioned andadded a lot of pain when it came to smart contract development
as they needed to always be updated.
Follows: