go-ethereum/cmd/evm/testdata/34
Bhargava Shastry 2b5718fe92
cmd/evm/internal/t8ntool: fix nil pointer dereference in Osaka blob gas calculation (#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.
2025-09-23 14:39:44 +02:00
..
alloc.json cmd/evm/internal/t8ntool: fix nil pointer dereference in Osaka blob gas calculation (#32714) 2025-09-23 14:39:44 +02:00
env.json cmd/evm/internal/t8ntool: fix nil pointer dereference in Osaka blob gas calculation (#32714) 2025-09-23 14:39:44 +02:00
exp.json cmd/evm/internal/t8ntool: fix nil pointer dereference in Osaka blob gas calculation (#32714) 2025-09-23 14:39:44 +02:00
README.md cmd/evm/internal/t8ntool: fix nil pointer dereference in Osaka blob gas calculation (#32714) 2025-09-23 14:39:44 +02:00
txs.json cmd/evm/internal/t8ntool: fix nil pointer dereference in Osaka blob gas calculation (#32714) 2025-09-23 14:39:44 +02:00

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.