Skip to content

Commit

Permalink
core: add blob schedule for verkle tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Jan 23, 2025
1 parent de52fc5 commit d2abb66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ func TestVerkleGenesisCommit(t *testing.T) {
EnableVerkleAtGenesis: true,
Ethash: nil,
Clique: nil,
BlobScheduleConfig: &params.BlobScheduleConfig{
Cancun: params.DefaultCancunBlobConfig,
Prague: params.DefaultPragueBlobConfig,
Verkle: params.DefaultPragueBlobConfig,
},
}

genesis := &Genesis{
Expand Down
6 changes: 6 additions & 0 deletions core/verkle_witness_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ var (
VerkleTime: u64(0),
TerminalTotalDifficulty: common.Big0,
EnableVerkleAtGenesis: true,
BlobScheduleConfig: &params.BlobScheduleConfig{
Verkle: params.DefaultPragueBlobConfig,
},
// TODO uncomment when proof generation is merged
// ProofInBlocks: true,
}
Expand All @@ -79,6 +82,9 @@ var (
VerkleTime: u64(0),
TerminalTotalDifficulty: common.Big0,
EnableVerkleAtGenesis: true,
BlobScheduleConfig: &params.BlobScheduleConfig{
Verkle: params.DefaultPragueBlobConfig,
},
}
)

Expand Down

0 comments on commit d2abb66

Please sign in to comment.