mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
chore(configs): update default configs with correct prague1 timestamps
This commit is contained in:
parent
cf89d1c4f5
commit
e434e46b59
3 changed files with 8 additions and 4 deletions
|
|
@ -300,7 +300,7 @@ func prepare(ctx *cli.Context) {
|
|||
case ctx.IsSet(utils.BepoliaFlag.Name):
|
||||
log.Info("Starting bera-geth on Bepolia testnet...")
|
||||
|
||||
case !ctx.IsSet(utils.NetworkIdFlag.Name), ctx.IsSet(utils.BerachainFlag.Name):
|
||||
case ctx.IsSet(utils.BerachainFlag.Name):
|
||||
log.Info("Starting bera-geth on Berachain mainnet...")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1573,7 +1573,7 @@ func setRequiredBlocks(ctx *cli.Context, cfg *ethconfig.Config) {
|
|||
// SetEthConfig applies eth-related command line flags to the config.
|
||||
func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
|
||||
// Avoid conflicting network flags, don't allow network id override on preset networks
|
||||
flags.CheckExclusive(ctx, MainnetFlag, DeveloperFlag, SepoliaFlag, HoleskyFlag, HoodiFlag, NetworkIdFlag)
|
||||
flags.CheckExclusive(ctx, BerachainFlag, BepoliaFlag, MainnetFlag, DeveloperFlag, SepoliaFlag, HoleskyFlag, HoodiFlag, NetworkIdFlag)
|
||||
flags.CheckExclusive(ctx, DeveloperFlag, ExternalSignerFlag) // Can't use both ephemeral unlocked and external signer
|
||||
|
||||
// Set configurations from CLI flags
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ var (
|
|||
},
|
||||
Berachain: BerachainConfig{
|
||||
Prague1: Prague1Config{
|
||||
Time: newUint64(999999999999999),
|
||||
Time: newUint64(17446744073709551614),
|
||||
MinimumBaseFeeWei: 1000000000, // 1 gwei
|
||||
BaseFeeChangeDenominator: 48, // 6x increase from the default
|
||||
},
|
||||
|
|
@ -230,7 +230,7 @@ var (
|
|||
},
|
||||
Berachain: BerachainConfig{
|
||||
Prague1: Prague1Config{
|
||||
Time: newUint64(999999999999999),
|
||||
Time: newUint64(1754496000),
|
||||
MinimumBaseFeeWei: 1000000000, // 1 gwei
|
||||
BaseFeeChangeDenominator: 48, // 6x increase from the default
|
||||
},
|
||||
|
|
@ -458,6 +458,10 @@ var NetworkNames = map[string]string{
|
|||
SepoliaChainConfig.ChainID.String(): "sepolia",
|
||||
HoleskyChainConfig.ChainID.String(): "holesky",
|
||||
HoodiChainConfig.ChainID.String(): "hoodi",
|
||||
|
||||
// Berachain
|
||||
BerachainChainConfig.ChainID.String(): "berachain mainnet",
|
||||
BepoliaChainConfig.ChainID.String(): "bepolia testnet",
|
||||
}
|
||||
|
||||
// ChainConfig is the core config which determines the blockchain settings.
|
||||
|
|
|
|||
Loading…
Reference in a new issue