From aaf31237f4174c967685b2f1d53d93a71eecffb3 Mon Sep 17 00:00:00 2001 From: Pratik Patil Date: Mon, 12 May 2025 16:30:09 +0530 Subject: [PATCH] params: added DefaultCancunBlobConfig in test config --- internal/cli/server/command_test.go | 2 +- params/config.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/cli/server/command_test.go b/internal/cli/server/command_test.go index 3181dd6402..67c9a95433 100644 --- a/internal/cli/server/command_test.go +++ b/internal/cli/server/command_test.go @@ -55,7 +55,7 @@ func TestFlagsWithoutConfig(t *testing.T) { require.Equal(t, c.config.Gpo.MaxPrice, big.NewInt(5000000000000)) } -// TestFlagsWithoutConfig tests all types of flags passed only +// TestFlagsWithConfig tests all types of flags passed only // via config file. func TestFlagsWithConfig(t *testing.T) { t.Parallel() diff --git a/params/config.go b/params/config.go index 85eed0e5fb..ad400ffe77 100644 --- a/params/config.go +++ b/params/config.go @@ -579,6 +579,10 @@ var ( TerminalTotalDifficulty: big.NewInt(math.MaxInt64), Ethash: new(EthashConfig), Clique: nil, + BlobScheduleConfig: &BlobScheduleConfig{ + Cancun: DefaultCancunBlobConfig, + Prague: DefaultPragueBlobConfig, + }, Bor: &BorConfig{ Sprint: map[string]uint64{ "0": 4},