From 2a6cf8b3eaff23ce452c1569accafe30e235282c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 18 Jul 2025 13:42:14 +0200 Subject: [PATCH] consensus/misc/eip4844: update --- consensus/misc/eip4844/eip4844.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/consensus/misc/eip4844/eip4844.go b/consensus/misc/eip4844/eip4844.go index 5bcb780398..e24db3ab04 100644 --- a/consensus/misc/eip4844/eip4844.go +++ b/consensus/misc/eip4844/eip4844.go @@ -101,7 +101,7 @@ func CalcExcessBlobGas(config *params.Config2, parent *types.Header, headTimesta // CalcBlobFee calculates the blobfee from the header's excess blob gas field. func CalcBlobFee(config *params.Config2, header *types.Header) *big.Int { - schedule := params.Get[params.BlobSchedule](config) + schedule := params.BlobSchedule.Get(config) if schedule == nil { return new(big.Int) } @@ -123,7 +123,7 @@ func MaxBlobGasPerBlock(cfg *params.Config2, time uint64) uint64 { // LatestMaxBlobsPerBlock returns the latest max blobs per block defined by the // configuration, regardless of the currently active fork. func LatestMaxBlobsPerBlock(cfg *params.Config2) int { - schedule := params.Get[params.BlobSchedule](cfg) + schedule := params.BlobSchedule.Get(cfg) if schedule == nil { return 0 } @@ -141,7 +141,7 @@ func targetBlobsPerBlock(cfg *params.Config2, time uint64) int { } func scheduleAtTime(cfg *params.Config2, time uint64) params.BlobConfig { - schedule := params.Get[params.BlobSchedule](cfg) + schedule := params.BlobSchedule.Get(cfg) if schedule == nil { return params.BlobConfig{} }