Skip to content

Dencun transaction and transaction receipt fields #474

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 1 commit into from
Mar 29, 2024

Conversation

haiyanghe
Copy link
Contributor

Extra fields in Transaction and Transaction Receipts for Dencun upgrade

@@ -38,7 +38,8 @@
'l1_gas_used',
'l1_gas_price',
'l1_fee_scalar'

Choose a reason for hiding this comment

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

Missing , here.

@@ -38,4 +38,5 @@ def __init__(self):
self.l1_gas_used = None
self.l1_gas_price = None
self.l1_fee_scalar = None

self.blob_gas_price = None
self.blob_gas_used = None
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't these 2 new fields be in EthBlock instead of EthReceipt? See here https://eips.ethereum.org/EIPS/eip-4844#header-extension

Choose a reason for hiding this comment

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

I believe for EthBlock, it would be those 2 fields.

  • "blobGasUsed"
  • "excessBlobGas"
    But, modification of block.py is indeed missing.

@medvedev1088 medvedev1088 changed the base branch from develop to dencun_upgrade March 29, 2024 03:55
@medvedev1088 medvedev1088 merged commit f08f93d into blockchain-etl:dencun_upgrade Mar 29, 2024
@medvedev1088
Copy link
Member

#484

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.

3 participants