prevent panic in test for CalcExcessBlobGas

This commit is contained in:
Jared Wasinger 2025-05-05 12:15:10 +08:00
parent fda7b5a7e8
commit e53bb74588

View file

@ -60,6 +60,7 @@ func TestCalcExcessBlobGas(t *testing.T) {
header := &types.Header{
ExcessBlobGas: &tt.excess,
BlobGasUsed: &blobGasUsed,
Number: big.NewInt(1),
}
result := CalcExcessBlobGas(config, header, *config.CancunTime)
if result != tt.want {