mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
consensus/misc/eip4844: use MergedTestChainConfig
This commit is contained in:
parent
2e4885315a
commit
f21a1e9781
1 changed files with 1 additions and 7 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue