Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

feat(derive): Payload Attribute Building#92

Merged
clabby merged 15 commits intomainfrom
refcell/attributes-builder
Apr 14, 2024
Merged

feat(derive): Payload Attribute Building#92
clabby merged 15 commits intomainfrom
refcell/attributes-builder

Conversation

@refcell
Copy link
Contributor

@refcell refcell commented Apr 5, 2024

Description

Starts implementing a StatefulAttributesBuilder as a default implementation of the AttributesBuilder trait.

Metadata

Makes significant, tested progress on #54. There are a few more things to fix and implement to fully build payload attributes.

@refcell refcell added K-feature Kind: feature A-proof Area: proof crates labels Apr 5, 2024
@refcell refcell self-assigned this Apr 5, 2024
@refcell refcell requested a review from clabby April 5, 2024 14:56
@refcell refcell marked this pull request as ready for review April 5, 2024 20:34
@refcell refcell requested a review from clabby April 12, 2024 16:52
Copy link
Contributor

@clabby clabby left a comment

Choose a reason for hiding this comment

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

Looking very good; Nice work.

Approving to get this into trunk and continue iteration. Looks like L1BlockInfo parsing is blocking completion, where it's also blocking #98. Maybe we split the parsing of the L1 block info from calldata into another PR and put #98 on pause for the moment?

wrt needing more information in the payload builder, maybe we change info_by_hash in the ChainProvider to header_by_hash? The BlockInfo (for L1) is just a subset of the header's information, looks like we need the full header here. This contains the mix hash, parent beacon block root, etc., and we have a hint route for it as well: https://specs.optimism.io/experimental/fault-proof/index.html#l1-block-header-blockhash

@clabby clabby force-pushed the refcell/attributes-builder branch 4 times, most recently from ba5058c to d65b9af Compare April 14, 2024 18:02
@clabby clabby force-pushed the refcell/attributes-builder branch from d65b9af to bca50b7 Compare April 14, 2024 18:03
@clabby clabby added this pull request to the merge queue Apr 14, 2024
Merged via the queue into main with commit 83ea2c9 Apr 14, 2024
@github-actions github-actions bot mentioned this pull request Apr 14, 2024
@clabby clabby deleted the refcell/attributes-builder branch April 19, 2024 18:51
This was referenced May 29, 2024
This was referenced Jun 6, 2024
This was referenced Jun 16, 2024
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
* feat(derive): attributes building

* feat(derive): ecotone tx building setup

* fix(derive): attribute builder

* fix(derive): use chain provider

* fix(derive): deposit tx work

* fix(derive): deposit tx work

* fix(derive): migrate deposit utility methods to types

* fix(derive): deposit unmarshalling test

* fix(derive): ecotone transactions

* fix(derive): ecotone transaction building

* fix(derive): op-alloy-consensus bump

* fix(derive): point to clabby's branch

* fix(derive): remove lazy static

* chore(derive): Review changes

---------

Co-authored-by: clabby <ben@clab.by>
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
* feat(derive): attributes building

* feat(derive): ecotone tx building setup

* fix(derive): attribute builder

* fix(derive): use chain provider

* fix(derive): deposit tx work

* fix(derive): deposit tx work

* fix(derive): migrate deposit utility methods to types

* fix(derive): deposit unmarshalling test

* fix(derive): ecotone transactions

* fix(derive): ecotone transaction building

* fix(derive): op-alloy-consensus bump

* fix(derive): point to clabby's branch

* fix(derive): remove lazy static

* chore(derive): Review changes

---------

Co-authored-by: clabby <ben@clab.by>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-proof Area: proof crates K-feature Kind: feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants