Skip to content

Conversation

@bshastry
Copy link
Contributor

@bshastry bshastry commented Sep 23, 2025

The parent header was missing the BaseFee field when calculating the reserve price for EIP-7918 in the Osaka fork, causing a nil pointer dereference. This fix ensures BaseFee is properly set from ParentBaseFee in the environment.

Added regression test case 34 to verify Osaka fork blob gas calculation works correctly with parent base fee.

  The parent header was missing the BaseFee field when calculating the
  reserve price for EIP-7918 in the Osaka fork, causing a nil pointer
  dereference. This fix ensures BaseFee is properly set from ParentBaseFee
  in the environment.

  Added regression test case ethereum#34 to verify Osaka fork blob gas calculation
  works correctly with parent base fee.
@fjl fjl changed the title cmd/evm: fix nil pointer dereference in Osaka fork blob gas calculation cmd/evm/internal/t8ntool: fix nil pointer dereference in Osaka blob gas calculation Sep 23, 2025
@fjl fjl merged commit 2b5718f into ethereum:master Sep 23, 2025
7 of 8 checks passed
@fjl fjl added this to the 1.16.4 milestone Sep 23, 2025
Sahil-4555 pushed a commit to Sahil-4555/go-ethereum that referenced this pull request Oct 12, 2025
…as calculation (ethereum#32714)

The parent header was missing the BaseFee field when calculating the
reserve price for EIP-7918 in the Osaka fork, causing a nil pointer
dereference. This fix ensures BaseFee is properly set from ParentBaseFee
in the environment.

Added regression test case 34 to verify Osaka fork blob gas calculation
works correctly with parent base fee.
atkinsonholly pushed a commit to atkinsonholly/ephemery-geth that referenced this pull request Nov 24, 2025
…as calculation (ethereum#32714)

The parent header was missing the BaseFee field when calculating the
reserve price for EIP-7918 in the Osaka fork, causing a nil pointer
dereference. This fix ensures BaseFee is properly set from ParentBaseFee
in the environment.

Added regression test case 34 to verify Osaka fork blob gas calculation
works correctly with parent base fee.
prestoalvarez pushed a commit to prestoalvarez/go-ethereum that referenced this pull request Nov 27, 2025
…as calculation (ethereum#32714)

The parent header was missing the BaseFee field when calculating the
reserve price for EIP-7918 in the Osaka fork, causing a nil pointer
dereference. This fix ensures BaseFee is properly set from ParentBaseFee
in the environment.

Added regression test case 34 to verify Osaka fork blob gas calculation
works correctly with parent base fee.
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.

3 participants