consensus/misc/eip4844: use MergedTestChainConfig

This commit is contained in:
Felix Lange 2025-06-09 16:48:23 +02:00
parent 2e4885315a
commit f21a1e9781

View file

@ -129,14 +129,8 @@ func TestFakeExponential(t *testing.T) {
}
func TestCalcExcessBlobGasEIP7918(t *testing.T) {
// TODO: replace with a test config that has Osaka enabled.
c := *params.MainnetChainConfig
cfg := &c
cfg.OsakaTime = new(uint64)
pragueSchedule := *cfg.BlobScheduleConfig.Prague
cfg.BlobScheduleConfig.Osaka = &pragueSchedule
var (
cfg = params.MergedTestChainConfig
targetBlobs = targetBlobsPerBlock(cfg, *cfg.CancunTime)
blobGasTarget = uint64(targetBlobs) * params.BlobTxBlobGasPerBlob
)