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

Fix: set use_kzg_da in block info based on RPC data #329

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

odesenfans
Copy link
Contributor

Problem: transactions that use blob data (l1_da_mode set to "BLOB" in
the block) cannot be reexecuted because of incorrect gas computations.

Solution: set use_kzg_da in the block info according to the
l1_da_mode in the block structure.

Type

  • feature
  • bugfix
  • dev (no functional changes, no API changes)
  • fmt (formatting, renaming)
  • build
  • docs
  • testing

Description

Breaking changes?

  • yes
  • no

@odesenfans
Copy link
Contributor Author

Depends on #328.

Problem: transactions that use blob data (`l1_da_mode` set to "BLOB" in
the block) cannot be reexecuted because of incorrect gas computations.

Solution: set `use_kzg_da` in the block info according to the
`l1_da_mode` in the block structure.
@odesenfans odesenfans force-pushed the od/set-use-kzg-da-in-block-info branch from dd935bb to e765996 Compare August 29, 2024 14:17
@odesenfans odesenfans marked this pull request as ready for review August 29, 2024 14:17
@odesenfans odesenfans requested a review from notlesh as a code owner August 29, 2024 14:17
Copy link
Collaborator

@whichqua whichqua left a comment

Choose a reason for hiding this comment

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

LGTM

@odesenfans odesenfans merged commit 787470f into main Aug 29, 2024
6 checks passed
@odesenfans odesenfans deleted the od/set-use-kzg-da-in-block-info branch August 29, 2024 14:37
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.

2 participants