Skip to content

op-program: Implement oracle based L1 fetcher#5411

Merged
OptimismBot merged 4 commits intodevelopfrom
aj/fpp-l1-fetcher
Apr 11, 2023
Merged

op-program: Implement oracle based L1 fetcher#5411
OptimismBot merged 4 commits intodevelopfrom
aj/fpp-l1-fetcher

Conversation

@ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Apr 11, 2023

Description

Provides an implementation of derive.L1Fetcher that uses data from the L1 oracle interface. Currently the only implementation of this fetches information from an L1 node but it's now done in a way that could be replaced with a pre-populated oracle for offline replay.

Adds the --l1.head CLI arg to the host program which sets the head block for L1 that the derivation pipeline stops processing at. This allows the fault proof program to process up to a specific "safe" L2 block rather than continuing processing until the latest L1 chain head.

Tests

Lots of unit tests.

Metadata

@ajsutton ajsutton requested a review from a team as a code owner April 11, 2023 04:30
@ajsutton ajsutton requested a review from trianglesphere April 11, 2023 04:30
@changeset-bot
Copy link

changeset-bot bot commented Apr 11, 2023

⚠️ No Changeset found

Latest commit: b54be59

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Apr 11, 2023

Deploy Preview for opstack-docs canceled.

Name Link
🔨 Latest commit b54be59
🔍 Latest deploy log https://app.netlify.com/sites/opstack-docs/deploys/6435d4036e7c2300080f2515

@ajsutton ajsutton force-pushed the aj/fpp-l1-fetcher branch 2 times, most recently from 764db8f to d2997c6 Compare April 11, 2023 04:55
@ajsutton ajsutton requested a review from protolambda April 11, 2023 06:29
@ajsutton ajsutton force-pushed the aj/fpp-l1-fetcher branch from d2997c6 to b1c9be0 Compare April 11, 2023 21:14
Copy link
Contributor

@protolambda protolambda left a comment

Choose a reason for hiding this comment

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

LGTM, but maybe clarify some method names

@OptimismBot OptimismBot merged commit 0c0cf54 into develop Apr 11, 2023
@OptimismBot OptimismBot deleted the aj/fpp-l1-fetcher branch April 11, 2023 21:57
@mergify
Copy link
Contributor

mergify bot commented Apr 11, 2023

This PR has been added to the merge queue, and will be merged soon.

@mergify
Copy link
Contributor

mergify bot commented Apr 11, 2023

This PR is next in line to be merged, and will be merged as soon as checks pass.

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