mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
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.
346 B
346 B
This test verifies that Osaka fork blob gas calculation works correctly when parentBaseFee is provided. It tests the EIP-7918 reserve price calculation which requires parent.BaseFee to be properly set.
Regression test for: nil pointer dereference when parent.BaseFee was not included in the parent header during Osaka fork blob gas calculations.