From d2abb661164c2c7f4d1e8a1b68ad1a0f2ad1084a Mon Sep 17 00:00:00 2001 From: lightclient Date: Thu, 23 Jan 2025 11:09:00 -0700 Subject: [PATCH] core: add blob schedule for verkle tests --- core/genesis_test.go | 5 +++++ core/verkle_witness_test.go | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/core/genesis_test.go b/core/genesis_test.go index 964ef928c777..462a127ab1c4 100644 --- a/core/genesis_test.go +++ b/core/genesis_test.go @@ -284,6 +284,11 @@ func TestVerkleGenesisCommit(t *testing.T) { EnableVerkleAtGenesis: true, Ethash: nil, Clique: nil, + BlobScheduleConfig: ¶ms.BlobScheduleConfig{ + Cancun: params.DefaultCancunBlobConfig, + Prague: params.DefaultPragueBlobConfig, + Verkle: params.DefaultPragueBlobConfig, + }, } genesis := &Genesis{ diff --git a/core/verkle_witness_test.go b/core/verkle_witness_test.go index 35ac7c0d6af8..0bd33c9864e7 100644 --- a/core/verkle_witness_test.go +++ b/core/verkle_witness_test.go @@ -58,6 +58,9 @@ var ( VerkleTime: u64(0), TerminalTotalDifficulty: common.Big0, EnableVerkleAtGenesis: true, + BlobScheduleConfig: ¶ms.BlobScheduleConfig{ + Verkle: params.DefaultPragueBlobConfig, + }, // TODO uncomment when proof generation is merged // ProofInBlocks: true, } @@ -79,6 +82,9 @@ var ( VerkleTime: u64(0), TerminalTotalDifficulty: common.Big0, EnableVerkleAtGenesis: true, + BlobScheduleConfig: ¶ms.BlobScheduleConfig{ + Verkle: params.DefaultPragueBlobConfig, + }, } )