mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
params: added DefaultCancunBlobConfig in test config
This commit is contained in:
parent
bd00cedd70
commit
aaf31237f4
2 changed files with 5 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func TestFlagsWithoutConfig(t *testing.T) {
|
||||||
require.Equal(t, c.config.Gpo.MaxPrice, big.NewInt(5000000000000))
|
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.
|
// via config file.
|
||||||
func TestFlagsWithConfig(t *testing.T) {
|
func TestFlagsWithConfig(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
|
||||||
|
|
@ -579,6 +579,10 @@ var (
|
||||||
TerminalTotalDifficulty: big.NewInt(math.MaxInt64),
|
TerminalTotalDifficulty: big.NewInt(math.MaxInt64),
|
||||||
Ethash: new(EthashConfig),
|
Ethash: new(EthashConfig),
|
||||||
Clique: nil,
|
Clique: nil,
|
||||||
|
BlobScheduleConfig: &BlobScheduleConfig{
|
||||||
|
Cancun: DefaultCancunBlobConfig,
|
||||||
|
Prague: DefaultPragueBlobConfig,
|
||||||
|
},
|
||||||
Bor: &BorConfig{
|
Bor: &BorConfig{
|
||||||
Sprint: map[string]uint64{
|
Sprint: map[string]uint64{
|
||||||
"0": 4},
|
"0": 4},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue