Skip to content
Merged
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
3 changes: 2 additions & 1 deletion binaryVersion
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
supernova-bon
tags/v2.0.0-bon

18 changes: 9 additions & 9 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@
ChainParametersByEpoch = [
{ EnableEpoch = 0, RoundDuration = 6000, RoundsPerEpoch = 4800, MinRoundsBetweenEpochs = 4800, ShardConsensusGroupSize = 63, ShardMinNumNodes = 400, MetachainConsensusGroupSize = 400, MetachainMinNumNodes = 400, Hysteresis = 0.2, Adaptivity = false, Offset = 0 },
{ EnableEpoch = 1763, RoundDuration = 6000, RoundsPerEpoch = 4800, MinRoundsBetweenEpochs = 4800, ShardConsensusGroupSize = 400, ShardMinNumNodes = 400, MetachainConsensusGroupSize = 400, MetachainMinNumNodes = 400, Hysteresis = 0.2, Adaptivity = false, Offset = 0 },
{ EnableEpoch = 2040, RoundDuration = 600, RoundsPerEpoch = 48000, MinRoundsBetweenEpochs = 48000, ShardConsensusGroupSize = 400, ShardMinNumNodes = 400, MetachainConsensusGroupSize = 400, MetachainMinNumNodes = 400, Hysteresis = 0.2, Adaptivity = false, Offset = 2 }
{ EnableEpoch = 2048, RoundDuration = 600, RoundsPerEpoch = 48000, MinRoundsBetweenEpochs = 48000, ShardConsensusGroupSize = 400, ShardMinNumNodes = 400, MetachainConsensusGroupSize = 400, MetachainMinNumNodes = 400, Hysteresis = 0.2, Adaptivity = false, Offset = 2 }
] # TODO[BON]: update last 2 entries (EnableEpoch, RoundDuration, RoundsPerEpoch, MinRoundsBetweenEpochs)

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

# ProcessConfigsByEpoch represents the configuration of process configuration parameters by epoch
ProcessConfigsByEpoch = [
{ EnableEpoch = 0, MaxMetaNoncesBehind = 15, MaxMetaNoncesBehindForGlobalStuck = 30, MaxShardNoncesBehind = 15 },
{ EnableEpoch = 2040, MaxMetaNoncesBehind = 75, MaxMetaNoncesBehindForGlobalStuck = 120, MaxShardNoncesBehind = 75 },
{ EnableEpoch = 2048, MaxMetaNoncesBehind = 75, MaxMetaNoncesBehindForGlobalStuck = 120, MaxShardNoncesBehind = 75 },
] # TODO[BON]: update last epoch

ProcessConfigsByRound = [
Expand All @@ -81,7 +81,7 @@ ProcessConfigsByRound = [
NumHeadersToRequestInAdvance = 10
},
{
EnableRound = 29445406, # TODO[BON]: update this
EnableRound = 29589115, # TODO[BON]: update this
MaxRoundsWithoutNewBlockReceived = 100,
MaxRoundsWithoutCommittedBlock = 100,
RoundModulusTriggerWhenSyncIsStuck = 200,
Expand All @@ -97,17 +97,17 @@ ProcessConfigsByRound = [

EpochStartConfigsByEpoch = [
{ EnableEpoch = 0, GracePeriodRounds = 25, ExtraDelayForRequestBlockInfoInMilliseconds = 3000 },
{ EnableEpoch = 2040, GracePeriodRounds = 250, ExtraDelayForRequestBlockInfoInMilliseconds = 220 },
{ EnableEpoch = 2048, GracePeriodRounds = 250, ExtraDelayForRequestBlockInfoInMilliseconds = 220 },
] # TODO[BON]: update last epoch

EpochStartConfigsByRound = [
{ EnableRound = 0, MaxRoundsWithoutCommittedStartInEpochBlock = 50 },
{ EnableRound = 29445406, MaxRoundsWithoutCommittedStartInEpochBlock = 500 },
{ EnableRound = 29589115, MaxRoundsWithoutCommittedStartInEpochBlock = 500 },
] # TODO[BON]: update last round

ConsensusConfigsByEpoch = [
{ EnableEpoch = 0, NumRoundsToWaitBeforeSignalingChronologyStuck = 10 },
{ EnableEpoch = 2040, NumRoundsToWaitBeforeSignalingChronologyStuck = 100 },
{ EnableEpoch = 2048, NumRoundsToWaitBeforeSignalingChronologyStuck = 100 },
] # TODO[BON]: update last epoch

[HardwareRequirements]
Expand All @@ -120,7 +120,7 @@ ConsensusConfigsByEpoch = [
# The value of StartEpoch parameter for version 2 should be the same with the ScheduledMiniBlocksEnableEpoch flag from enableEpoch.toml file
{ StartEpoch = 613, StartRound = 0, Version = "2" },
# TODO The value of StartEpoch parameter for version 3 should be the same with the SupernovaEnableEpoch flag from enableEpoch.toml file and StartRound the same with the SupernovaEnableRound flag from enableRounds.toml
{ StartEpoch = 2040, StartRound = 29445406, Version = "3" },
{ StartEpoch = 2048, StartRound = 29589115, Version = "3" },
] # TODO[BON]: update last entry (StartEpoch, StartRound)

[StoragePruning]
Expand Down Expand Up @@ -710,7 +710,7 @@ ConsensusConfigsByEpoch = [
MaxDeviationTimeInMilliseconds = 25

[[Antiflood.ConfigsByRound]]
Round = 29445406 # TODO[BON]: update this
Round = 29589115 # TODO[BON]: update this
NumConcurrentResolverJobs = 50
NumConcurrentResolvingTrieNodesJobs = 30

Expand Down
2 changes: 1 addition & 1 deletion economics.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
{EnableEpoch = 460, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "600000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "600000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "10"},
{EnableEpoch = 613, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "10"},
{EnableEpoch = 1820, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
{EnableEpoch = 2040, MaxGasLimitPerBlock = "600000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "12000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
{EnableEpoch = 2048, MaxGasLimitPerBlock = "600000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "12000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
] # TODO[BON]: update last epoch
MinGasPrice = "1000000000" #will yield min tx fee of 0.00005 eGLD
GasPriceModifier = 0.01
Expand Down
2 changes: 1 addition & 1 deletion enableEpochs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
AndromedaEnableEpoch = 1763

# SupernovaEnableEpoch represents the epoch when sub-second finality will be enabled
SupernovaEnableEpoch = 2040 # TODO[BON]: update this
SupernovaEnableEpoch = 2048 # TODO[BON]: update this

# CheckBuiltInCallOnTransferValueAndFailEnableRound represents the ROUND when the check on transfer value fix is activated
CheckBuiltInCallOnTransferValueAndFailEnableRound = 8392400 # THIS MUST BE A ROUND
Expand Down
2 changes: 1 addition & 1 deletion enableRounds.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
Round = "6072765" # epoch 1265 should begin at round 4801 * 1265 = 6073265 (500 will be subtracted)
[RoundActivations.SupernovaEnableRound]
Options = []
Round = "29445406" # TODO[BON]: update this
Round = "29589115" # TODO[BON]: update this
4 changes: 2 additions & 2 deletions ratings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
ValidatorDecreaseFactor = -4.0
ConsecutiveMissedBlocksPenalty = 1.10
[[ShardChain.RatingStepsByEpoch]]
EnableEpoch = 2040 # TODO[BON]: update this
EnableEpoch = 2048 # TODO[BON]: update this
HoursToMaxRatingFromStartRating = 55
ProposerValidatorImportance = 1.0
ProposerDecreaseFactor = -4.0
Expand All @@ -60,7 +60,7 @@
ValidatorDecreaseFactor = -4.0
ConsecutiveMissedBlocksPenalty = 1.10
[[MetaChain.RatingStepsByEpoch]]
EnableEpoch = 2040 # TODO[BON]: update this
EnableEpoch = 2048 # TODO[BON]: update this
HoursToMaxRatingFromStartRating = 55
ProposerValidatorImportance = 1.0
ProposerDecreaseFactor = -4.0
Expand Down
Loading