feat(sdk): add Bedrock support to SDK#3086
Conversation
🦋 Changeset detectedLatest commit: 1389dd9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This PR changes implementation code, but doesn't include a changeset. Did you forget to add one? |
55096bf to
8742117
Compare
8742117 to
f7de637
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
roninjin10
left a comment
There was a problem hiding this comment.
lgtm couple of nits but non blocking
|
This looks good to me. @tynes if you want another set of eyes please have them review, then remove |
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
|
This PR has been added to the merge queue, and will be merged soon. |
* core-utils: add bedrock types * sdk: implement bedrock functionality * tests: update for bedrock * sdk: add hardhat deposit task * circleci: run deposit task in ci * tsconfig: cleanup * contracts-bedrock: make commitment interval larger * changeset: add Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* core-utils: add bedrock types * sdk: implement bedrock functionality * tests: update for bedrock * sdk: add hardhat deposit task * circleci: run deposit task in ci * tsconfig: cleanup * contracts-bedrock: make commitment interval larger * changeset: add Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* core-utils: add bedrock types * sdk: implement bedrock functionality * tests: update for bedrock * sdk: add hardhat deposit task * circleci: run deposit task in ci * tsconfig: cleanup * contracts-bedrock: make commitment interval larger * changeset: add Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* core-utils: add bedrock types * sdk: implement bedrock functionality * tests: update for bedrock * sdk: add hardhat deposit task * circleci: run deposit task in ci * tsconfig: cleanup * contracts-bedrock: make commitment interval larger * changeset: add Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
The actor is split in two separate actors: `L1WatcherActor` and `L1QueryActor`. The `L1QueryActor` is promoted to a first-class actor and is now spawned from the main task. Each related `Context` and `State` structs are removed and the necessary fields are moved in to the actor's struct. For each actor an implementation of the builder pattern and custom error-types are provided. This makes it easier to apply inversion of control and do dependency injection. The construction of the actors has been moved downwards in `node.rs` to allow an incoming channel to be created before. Further, the `BlockStream` type has been isolated and rewritten to not use a reference but a clone of the L1 provider. ref: #3071
Description
Updates the SDK to add support for Bedrock. Includes a minor fix to the
build pipeline for the contracts-bedrock package. Removes some utilities
that are now exported as part of core-utils.