Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions cmd/node/config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,40 +44,40 @@
ChainParametersByEpoch = [
{ EnableEpoch = 0, RoundDuration = 6000, RoundsPerEpoch = 200, MinRoundsBetweenEpochs = 20, ShardConsensusGroupSize = 7, ShardMinNumNodes = 10, MetachainConsensusGroupSize = 10, MetachainMinNumNodes = 10, Hysteresis = 0.2, Adaptivity = false },
{ EnableEpoch = 1, RoundDuration = 6000, RoundsPerEpoch = 200, MinRoundsBetweenEpochs = 20, ShardConsensusGroupSize = 10, ShardMinNumNodes = 10, MetachainConsensusGroupSize = 10, MetachainMinNumNodes = 10, Hysteresis = 0.2, Adaptivity = false },
{ EnableEpoch = 2, RoundDuration = 600, RoundsPerEpoch = 2000, MinRoundsBetweenEpochs = 50, ShardConsensusGroupSize = 10, ShardMinNumNodes = 10, MetachainConsensusGroupSize = 10, MetachainMinNumNodes = 10, Hysteresis = 0.2, Adaptivity = false }
{ EnableEpoch = 999999, RoundDuration = 600, RoundsPerEpoch = 2000, MinRoundsBetweenEpochs = 50, ShardConsensusGroupSize = 10, ShardMinNumNodes = 10, MetachainConsensusGroupSize = 10, MetachainMinNumNodes = 10, Hysteresis = 0.2, Adaptivity = false }
]

# EpochChangeGracePeriodEnableEpoch represents the configuration of different grace periods for epoch change with their activation epochs
EpochChangeGracePeriodByEpoch = [
{EnableEpoch = 0, GracePeriodInRounds = 1 },
{EnableEpoch = 1, GracePeriodInRounds = 10 }, # Andromeda epoch comes with a longer grace period
{EnableEpoch = 2, GracePeriodInRounds = 100 }, # Supernova epoch comes with an even longer grace period due to round duration reduction
{EnableEpoch = 999999, GracePeriodInRounds = 100 }, # Supernova epoch comes with an even longer grace period due to round duration reduction
]

# ProcessConfigsByEpoch represents the configuration of process configuration parameters by epoch
ProcessConfigsByEpoch = [
{ EnableEpoch = 0, MaxMetaNoncesBehind = 15, MaxMetaNoncesBehindForGlobalStuck = 30, MaxShardNoncesBehind = 15 },
{ EnableEpoch = 2, MaxMetaNoncesBehind = 75, MaxMetaNoncesBehindForGlobalStuck = 120, MaxShardNoncesBehind = 75 },
{ EnableEpoch = 999999, MaxMetaNoncesBehind = 75, MaxMetaNoncesBehindForGlobalStuck = 120, MaxShardNoncesBehind = 75 },
]

ProcessConfigsByRound = [
{ EnableRound = 0, MaxRoundsWithoutNewBlockReceived = 10, MaxRoundsWithoutCommittedBlock = 10, RoundModulusTriggerWhenSyncIsStuck = 20 },
{ EnableRound = 2, MaxRoundsWithoutNewBlockReceived = 100, MaxRoundsWithoutCommittedBlock = 100, RoundModulusTriggerWhenSyncIsStuck = 200 },
{ EnableRound = 999999, MaxRoundsWithoutNewBlockReceived = 100, MaxRoundsWithoutCommittedBlock = 100, RoundModulusTriggerWhenSyncIsStuck = 200 },
]

EpochStartConfigsByEpoch = [
{ EnableEpoch = 0, GracePeriodRounds = 25, ExtraDelayForRequestBlockInfoInMilliseconds = 3000 },
{ EnableEpoch = 2, GracePeriodRounds = 250, ExtraDelayForRequestBlockInfoInMilliseconds = 220 },
{ EnableEpoch = 999999, GracePeriodRounds = 250, ExtraDelayForRequestBlockInfoInMilliseconds = 220 },
]

EpochStartConfigsByRound = [
{ EnableRound = 0, MaxRoundsWithoutCommittedStartInEpochBlock = 50 },
{ EnableRound = 2, MaxRoundsWithoutCommittedStartInEpochBlock = 500 },
{ EnableRound = 999999, MaxRoundsWithoutCommittedStartInEpochBlock = 500 },
]

ConsensusConfigsByEpoch = [
{ EnableEpoch = 0, NumRoundsToWaitBeforeSignalingChronologyStuck = 10 },
{ EnableEpoch = 2, NumRoundsToWaitBeforeSignalingChronologyStuck = 100 },
{ EnableEpoch = 999999, NumRoundsToWaitBeforeSignalingChronologyStuck = 100 },
]

[HardwareRequirements]
Expand Down
2 changes: 1 addition & 1 deletion cmd/node/config/economics.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
GasLimitSettings = [
{EnableEpoch = 0, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "1500000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "15000000000", MaxGasLimitPerTx = "1500000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "10"},
{EnableEpoch = 1, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
{EnableEpoch = 2, MaxGasLimitPerBlock = "3000000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "3000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
{EnableEpoch = 999999, MaxGasLimitPerBlock = "3000000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "3000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
]
MinGasPrice = "1000000000" #will yield min tx fee of 0.00005 eGLD
GasPriceModifier = 0.01
Expand Down
2 changes: 1 addition & 1 deletion cmd/node/config/enableEpochs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
AndromedaEnableEpoch = 1

# SupernovaEnableEpoch represents the epoch when sub-second finality will be enabled
SupernovaEnableEpoch = 2
SupernovaEnableEpoch = 999999

# CheckBuiltInCallOnTransferValueAndFailEnableRound represents the ROUND when the check on transfer value fix is activated
CheckBuiltInCallOnTransferValueAndFailEnableRound = 1
Expand Down
2 changes: 1 addition & 1 deletion cmd/node/config/enableRounds.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

[RoundActivations.SupernovaEnableRound]
Options = []
Round = "440"
Round = "999999"
Loading