Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: codec #38

Merged
merged 12 commits into from
Mar 24, 2025
Merged

feat: codec #38

merged 12 commits into from
Mar 24, 2025

Conversation

greged93
Copy link
Collaborator

@greged93 greged93 commented Mar 20, 2025

Implements the decoding for the Scroll codec, from version 0 to 7.

Resolves #25

@greged93 greged93 requested a review from frisitano March 21, 2025 13:35
Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

This looks great!

I agree with your suggestion of returning a BatchInput instead of a CommitPayload, however, I suggest we do that in a follow up PR. We can consider replacing chunks with a CommitPayload. When implementing that change we should be mindful of the data model. It would be useful if you could add columns to the database model for the BatchInput such as num_l1_messages, l1_message_queue_start_index so that we can easily map between batches and l1 messages.

@greged93 greged93 merged commit 6f97960 into main Mar 24, 2025
12 checks passed
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.

Implement Codec
2 participants