Conversation
frisitano
reviewed
Mar 26, 2025
Collaborator
frisitano
left a comment
There was a problem hiding this comment.
Added some comments and questions inline.
frisitano
reviewed
Apr 1, 2025
Collaborator
frisitano
left a comment
There was a problem hiding this comment.
Looks good. Left some minor style comments inline.
Comment on lines
+51
to
+52
| let block_messages = l1_messages_buf.get(..num_l1_messages).unwrap_or(&[]); | ||
| *l1_messages_buf = l1_messages_buf.get(num_l1_messages..).unwrap_or(&[]); |
Collaborator
There was a problem hiding this comment.
does the l1_messages_buf type have a method such as split? that would be more efficient?
Contributor
Author
There was a problem hiding this comment.
I'm not 100% sure how you would use split, would you mind elaborating?
The slice type has a split iterator which you can get by calling split.
Collaborator
There was a problem hiding this comment.
I think split_at or split_at_mut would be appropriate and a little more ergonomic but this isn't a big deal.
Contributor
Author
There was a problem hiding this comment.
the only issue with these methods is that they can panic
greged93
added a commit
that referenced
this pull request
Apr 3, 2025
* feat: wip * feat: changes to the data model * fix: codec issue * feat: modify derivation pipeline to fetch blob * test: move test data to file * fix: lints * fix: answer comments * test: fix migration * feat: derivation pipeline (#40) * test: move calldata to files * feat: batch header decoding * feat: improve codec interface * chore: manifests fixes * feat: revert some codec changes * feat: wip derivation pipeline * feat: batch header v7 * feat: add batch abstraction * feat: basic derivation pipeline * feat: implement batch data hash * feat: move PayloadData * feat: improve batch data hash computation * test: derivation * chore: cleaning * fix: lints * fix: lints * fix: skip wasm for derivation pipeline * fix: data hash computation for batch * fix: lint * fix: lint * fix: lints * fix: answer comments * fix: lints * fix: comments
greged93
added a commit
that referenced
this pull request
Apr 3, 2025
* test: move calldata to files * feat: batch header decoding * feat: improve codec interface * chore: manifests fixes * feat: revert some codec changes * feat: wip derivation pipeline * feat: batch header v7 * feat: add batch abstraction * feat: basic derivation pipeline * feat: implement batch data hash * feat: move PayloadData * feat: improve batch data hash computation * test: derivation * chore: cleaning * fix: lints * fix: lints * fix: skip wasm for derivation pipeline * fix: data hash computation for batch * fix: lint * fix: lint * fix: lints * fix: answer comments * fix: lints * feat: integrate batch changes (#41) * feat: wip * feat: changes to the data model * fix: codec issue * feat: modify derivation pipeline to fetch blob * test: move test data to file * fix: lints * fix: answer comments * test: fix migration * feat: derivation pipeline (#40) * test: move calldata to files * feat: batch header decoding * feat: improve codec interface * chore: manifests fixes * feat: revert some codec changes * feat: wip derivation pipeline * feat: batch header v7 * feat: add batch abstraction * feat: basic derivation pipeline * feat: implement batch data hash * feat: move PayloadData * feat: improve batch data hash computation * test: derivation * chore: cleaning * fix: lints * fix: lints * fix: skip wasm for derivation pipeline * fix: data hash computation for batch * fix: lint * fix: lint * fix: lints * fix: answer comments * fix: lints * fix: comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the derivation pipeline to the rollup node. Builds towards #2.
Subsequent PR should:
BatchInputstructure.BlobProviderto fetch optional blobs.