Skip to content

feat(rawdb): introduce BuildPayloadArgsID to L1Origin #426

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

Merged
merged 5 commits into from
May 13, 2025

Conversation

davidtaikocha
Copy link

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR extends the L1Origin model by adding the BuildPayloadArgsID field and updating the related JSON serialization and RLP decoding logic to preserve backward compatibility with legacy data.

  • Added a new BuildPayloadArgsID field to the L1Origin struct.
  • Introduced L1OriginLegacy and updated the decoding process to fallback to legacy format.
  • Updated JSON marshal/unmarshal logic to handle BuildPayloadArgsID.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
core/rawdb/taiko_l1_origin.go Added the new BuildPayloadArgsID field and updated legacy decoding
core/rawdb/gen_taiko_l1_origin.go Updated JSON serialization logic to include BuildPayloadArgsID

@davidtaikocha davidtaikocha disabled auto-merge May 13, 2025 01:10
@davidtaikocha davidtaikocha enabled auto-merge (squash) May 13, 2025 01:28
@davidtaikocha davidtaikocha disabled auto-merge May 13, 2025 01:32
@davidtaikocha davidtaikocha merged commit 187f85d into taiko May 13, 2025
2 of 3 checks passed
@davidtaikocha davidtaikocha deleted the update-l1-origin-id branch May 13, 2025 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants