From f21a1e9781545d4fa7e82bead2e2c316ddda8198 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 9 Jun 2025 16:48:23 +0200 Subject: [PATCH] consensus/misc/eip4844: use MergedTestChainConfig --- consensus/misc/eip4844/eip4844_test.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/consensus/misc/eip4844/eip4844_test.go b/consensus/misc/eip4844/eip4844_test.go index 81e4c7b7ff..555324db65 100644 --- a/consensus/misc/eip4844/eip4844_test.go +++ b/consensus/misc/eip4844/eip4844_test.go @@ -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 )