Skip to content

Commit 3ec63d2

Browse files
committed
consensus/misc/eip4844: use MergedTestChainConfig
1 parent dcd65d1 commit 3ec63d2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

consensus/misc/eip4844/eip4844_test.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,8 @@ func TestFakeExponential(t *testing.T) {
129129
}
130130

131131
func TestCalcExcessBlobGasEIP7918(t *testing.T) {
132-
// TODO: replace with a test config that has Osaka enabled.
133-
c := *params.MainnetChainConfig
134-
cfg := &c
135-
cfg.OsakaTime = new(uint64)
136-
pragueSchedule := *cfg.BlobScheduleConfig.Prague
137-
cfg.BlobScheduleConfig.Osaka = &pragueSchedule
138-
139132
var (
133+
cfg = params.MergedTestChainConfig
140134
targetBlobs = targetBlobsPerBlock(cfg, *cfg.CancunTime)
141135
blobGasTarget = uint64(targetBlobs) * params.BlobTxBlobGasPerBlob
142136
)

0 commit comments

Comments
 (0)