Skip to content

Commit d3009ba

Browse files
committed
Merge branch 'release-v2.0.0.0' of https://github.com/multiversx/mx-chain-mainnet-config into release-v2.0.0.0-bon
# Conflicts: # economics.toml
2 parents ded0c89 + ec85394 commit d3009ba

File tree

7 files changed

+20
-21
lines changed

7 files changed

+20
-21
lines changed

api.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@
131131
# /network/enable-epochs will return metrics related to activation epochs
132132
{ Name = "/enable-epochs", Open = true },
133133

134+
# /network/enable-epochs-v2 will return metrics related to activation epochs in the same format as in toml
135+
{ Name = "/enable-epochs-v2", Open = true },
136+
134137
# /network/esdts will return all the issued esdts on the protocol
135138
{ Name = "/esdts", Open = true },
136139

@@ -232,7 +235,7 @@
232235
{ Name = "/scrs-by-tx-hash/:txhash", Open = true },
233236

234237
# transaction/pool/simulate-selection will simulate a selection, and it will return each selected transaction with the requested fields
235-
{ Name = "/pool/simulate-selection", Open = true},
238+
{ Name = "/pool/simulate-selection", Open = true}, # TODO[Sorin]: this should be false
236239

237240
# transaction/pool/:address/virtual-nonce will return the virtual nonce of the account
238241
{ Name = "/pool/:address/virtual-nonce", Open = true},

config.toml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
# GenesisMaxNumberOfShards represents the maximum number of shards to be created at genesis (excluding metaChain shard)
2828
GenesisMaxNumberOfShards = 3
2929

30-
# MaxConsecutiveRoundsOfRatingDecrease represents the max number of consecutive rounds in which a block is not proposed
31-
# on a shard and the validators' rating could be decreased. If, for instance, a shard gets stuck for more rounds
32-
# than this value, then the validators rating decrease should stop so they won't get jailed
33-
MaxConsecutiveRoundsOfRatingDecrease = 600
34-
3530
# SyncProcessTimeInMillis is the value in milliseconds used when processing blocks while synchronizing blocks
3631
SyncProcessTimeInMillis = 12000
3732

@@ -232,6 +227,8 @@ ConsensusConfigsByEpoch = [
232227
BatchDelaySeconds = 2
233228
MaxBatchSize = 100
234229
MaxOpenFiles = 10
230+
ShardIDProviderType = "BinarySplit"
231+
NumShards = 4
235232

236233
[BootstrapStorage]
237234
[BootstrapStorage.Cache]
@@ -258,6 +255,8 @@ ConsensusConfigsByEpoch = [
258255
BatchDelaySeconds = 2
259256
MaxBatchSize = 100
260257
MaxOpenFiles = 10
258+
ShardIDProviderType = "BinarySplit"
259+
NumShards = 4
261260

262261
[ProofsStorage]
263262
[ProofsStorage.Cache]
@@ -297,6 +296,8 @@ ConsensusConfigsByEpoch = [
297296
BatchDelaySeconds = 2
298297
MaxBatchSize = 30000
299298
MaxOpenFiles = 10
299+
ShardIDProviderType = "BinarySplit"
300+
NumShards = 4
300301

301302
[UnsignedTransactionStorage]
302303
[UnsignedTransactionStorage.Cache]
@@ -502,7 +503,7 @@ ConsensusConfigsByEpoch = [
502503
[TxDataPool]
503504
Name = "TxDataPool"
504505
Capacity = 600000
505-
SizePerSender = 5000
506+
SizePerSender = 5001
506507
SizeInBytes = 419430400 #400MB
507508
SizeInBytesPerSender = 12288000 #12MB
508509
Type = "TxCache"
@@ -514,7 +515,6 @@ ConsensusConfigsByEpoch = [
514515

515516
[TxCacheSelection]
516517
SelectionMaxNumTxs = 30000
517-
SelectionLoopMaximumDuration = 250 # milliseconds
518518
SelectionLoopDurationCheckInterval = 10 # chunk (of transactions) size
519519
SelectionGasBandwidthIncreasePercent = 400
520520
SelectionGasBandwidthIncreaseScheduledPercent = 260
@@ -1007,6 +1007,8 @@ ConsensusConfigsByEpoch = [
10071007
BatchDelaySeconds = 2
10081008
MaxBatchSize = 20000
10091009
MaxOpenFiles = 10
1010+
ShardIDProviderType = "BinarySplit"
1011+
NumShards = 4
10101012
[DbLookupExtensions.EpochByHashStorageConfig.Cache]
10111013
Name = "DbLookupExtensions.EpochByHashStorage"
10121014
Capacity = 20000
@@ -1017,6 +1019,8 @@ ConsensusConfigsByEpoch = [
10171019
BatchDelaySeconds = 2
10181020
MaxBatchSize = 20000
10191021
MaxOpenFiles = 10
1022+
ShardIDProviderType = "BinarySplit"
1023+
NumShards = 4
10201024
[DbLookupExtensions.ResultsHashesByTxHashStorageConfig.Cache]
10211025
Name = "DbLookupExtensions.ResultsHashesByTxHashStorage"
10221026
Capacity = 20000
@@ -1092,11 +1096,6 @@ ConsensusConfigsByEpoch = [
10921096
Type = "SizeLRU"
10931097
SizeInBytes = 314572800 #300MB
10941098

1095-
[Redundancy]
1096-
# MaxRoundsOfInactivityAccepted defines the number of rounds missed by a main or higher level backup machine before
1097-
# the current machine will take over and propose/sign blocks. Used in both single-key and multi-key modes.
1098-
MaxRoundsOfInactivityAccepted = 10
1099-
11001099
[InterceptedDataVerifier]
11011100
EnableCaching = true
11021101
CacheSpanInSec = 30

economics.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
{EnableEpoch = 460, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "600000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "600000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "10"},
8484
{EnableEpoch = 613, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "10"},
8585
{EnableEpoch = 1820, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
86-
{EnableEpoch = 2005, MaxGasLimitPerBlock = "600000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "6000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
86+
{EnableEpoch = 2005, MaxGasLimitPerBlock = "600000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "12000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
8787
]
8888
MinGasPrice = "1000000000" #will yield min tx fee of 0.00005 eGLD
8989
GasPriceModifier = 0.01

enableEpochs.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,6 @@
160160
# StorageAPICostOptimizationEnableEpoch represents the epoch when new storage helper functions are enabled and cost is reduced in Wasm VM
161161
StorageAPICostOptimizationEnableEpoch = 613
162162

163-
# TransformToMultiShardCreateEnableEpoch represents the epoch when the new function on esdt system sc is enabled to transfer create role into multishard
164-
TransformToMultiShardCreateEnableEpoch = 613
165-
166163
# ESDTRegisterAndSetAllRolesEnableEpoch represents the epoch when new function to register tickerID and set all roles is enabled
167164
ESDTRegisterAndSetAllRolesEnableEpoch = 613
168165

external.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
Username = ""
1313
Password = ""
1414
# EnabledIndexes represents a slice of indexes that will be enabled for indexing. Full list is:
15-
# ["rating", "transactions", "blocks", "validators", "miniblocks", "rounds", "accounts", "accountshistory", "receipts", "scresults", "accountsesdt", "accountsesdthistory", "epochinfo", "scdeploys", "tokens", "tags", "logs", "delegators", "operations", "esdts", "events"]
16-
EnabledIndexes = ["rating", "transactions", "blocks", "validators", "miniblocks", "rounds", "accounts", "accountshistory", "receipts", "scresults", "accountsesdt", "accountsesdthistory", "epochinfo", "scdeploys", "tokens", "tags", "logs", "delegators", "operations", "esdts", "events"]
15+
# ["rating", "transactions", "blocks", "validators", "miniblocks", "rounds", "accounts", "accountshistory", "receipts", "scresults", "accountsesdt", "accountsesdthistory", "epochinfo", "scdeploys", "tokens", "tags", "logs", "delegators", "operations", "esdts", "events", "executionresults"]
16+
EnabledIndexes = ["rating", "transactions", "blocks", "validators", "miniblocks", "rounds", "accounts", "accountshistory", "receipts", "scresults", "accountsesdt", "accountsesdthistory", "epochinfo", "scdeploys", "tokens", "tags", "logs", "delegators", "operations", "esdts", "events", "executionresults"]
1717

1818
# EventNotifierConnector defines settings needed to configure and launch the event notifier component
1919
# HTTP event notifier connector integration will be DEPRECATED in the following iterations

proxyVersion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tags/v1.3.3
1+
rc/supernova

systemSmartContractsConfig.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
MinStakeValue = "100000000000000000000" #100 eGLD
44
MinUnstakeTokensValue = "10000000000000000000" #10eGLD
55
UnBondPeriod = 144000 # period as number of rounds
6-
UnBondPeriodSupernova = 1440000 # period as number of rounds
6+
UnBondPeriodSupernova = 1440000 # period as number of rounds
77
UnBondPeriodInEpochs = 10
88
MinStepValue = "100000000000000000000"
99
NumRoundsWithoutBleed = 100

0 commit comments

Comments
 (0)