Skip to content

Conversation

@rizkyikiw42
Copy link
Contributor

Fixes error messages to print the actual blob gas value instead of the pointer address by dereferencing ExcessBlobGas and BlobGasUsed. This aligns with the correct implementation already used in ethash, clique, and eip4844 consensus engines.

jwasinger
jwasinger previously approved these changes Nov 17, 2025
return fmt.Errorf("invalid excessBlobGas: have %d, expected nil", *header.ExcessBlobGas)
case header.BlobGasUsed != nil:
return fmt.Errorf("invalid blobGasUsed: have %d, expected nil", header.BlobGasUsed)
return fmt.Errorf("invalid blobGasUsed: have %d, expected nil", *header.BlobGasUsed)
Copy link
Member

Choose a reason for hiding this comment

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

please also fix for the ParentBeaconRoot

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @rjl493456442, done, pls check, thanks!

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