Skip to content

Commit 8c453af

Browse files
authored
Merge pull request #387 from multiversx/release-T2.0.0.0
Release T2.0.0.0
2 parents 06f3c82 + 4dfbb27 commit 8c453af

11 files changed

Lines changed: 328 additions & 97 deletions

api.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@
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+
137+
# /network/enable-rounds will return metrics related to activation rounds
138+
{ Name = "/enable-rounds", Open = true },
139+
134140
# /network/esdts will return all the issued esdts on the protocol
135141
{ Name = "/esdts", Open = true },
136142

@@ -230,6 +236,12 @@
230236

231237
# /transaction/scrs-by-tx-hash/:txhash will return the smart contract results generated by the provided transaction hash
232238
{ Name = "/scrs-by-tx-hash/:txhash", Open = true },
239+
240+
# transaction/pool/simulate-selection will simulate a selection, and it will return each selected transaction with the requested fields
241+
{ Name = "/pool/simulate-selection", Open = false}, # should be false on public configs
242+
243+
# transaction/pool/:address/virtual-nonce will return the virtual nonce of the account
244+
{ Name = "/pool/:address/virtual-nonce", Open = false},
233245
]
234246

235247
[APIPackages.block]

binaryVersion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.11.0
1+
tags/v2.0.0

config.toml

Lines changed: 285 additions & 87 deletions
Large diffs are not rendered by default.

economics.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,12 @@
6969
{EnableEpoch = 0, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "1500000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "15000000000", MaxGasLimitPerTx = "1500000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "10"},
7070
{EnableEpoch = 1, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "10"},
7171
{EnableEpoch = 768, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
72+
{EnableEpoch = 4128, MaxGasLimitPerBlock = "600000000", MaxGasLimitPerMiniBlock = "250000000", MaxGasLimitPerMetaBlock = "12000000000", MaxGasLimitPerMetaMiniBlock = "250000000", MaxGasLimitPerTx = "600000000", MinGasLimit = "50000", ExtraGasLimitGuardedTx = "50000", MaxGasHigherFactorAccepted = "2"},
7273
]
7374
MinGasPrice = "1000000000" #will yield min tx fee of 0.00005 eGLD
7475
GasPriceModifier = 0.01
7576
GasPerDataByte = "1500"
7677
DataLimitForBaseCalc = "10000"
7778
MaxGasPriceSetGuardian = "2000000000"
79+
BlockCapacityOverestimationFactor = 200 # 200%
80+
PercentDecreaseLimitsStep = 10 # 10%

enableEpochs.toml

Lines changed: 3 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 = 1
162162

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

@@ -342,6 +339,9 @@
342339
# AndromedaEnableEpoch represents the epoch when the equivalent messages and fix order for consensus features are enabled
343340
AndromedaEnableEpoch = 202
344341

342+
# SupernovaEnableEpoch represents the epoch when sub-second finality will be enabled
343+
SupernovaEnableEpoch = 4128
344+
345345
# CheckBuiltInCallOnTransferValueAndFailEnableRound represents the ROUND when the check on transfer value fix is activated
346346
CheckBuiltInCallOnTransferValueAndFailEnableRound = 318267 # THIS MUST BE A ROUND
347347

enableRounds.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@
1111
[RoundActivations.DisableAsyncCallV1]
1212
Options = []
1313
Round = "0"
14+
[RoundActivations.SupernovaEnableRound]
15+
Options = []
16+
Round = "4957930"

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

prefs.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# In multikey mode, all bls keys not mentioned in NamedIdentity section will use this one as default
1313
Identity = ""
1414

15-
# RedundancyLevel represents the level of redundancy used by the node (-1 = disabled, 0 = main instance (default),
16-
# 1 = first backup, 2 = second backup, etc.)
15+
# RedundancyLevel represents the level of redundancy used by the node
16+
# (0 = main instance (default), 1 = first backup, 2 = second backup, etc.)
1717
RedundancyLevel = 0
1818

1919
# FullArchive, if enabled, will make the node able to respond to requests from past, old epochs.

proxyVersion

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

ratings.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@
4343
ProposerDecreaseFactor = -4.0
4444
ValidatorDecreaseFactor = -4.0
4545
ConsecutiveMissedBlocksPenalty = 1.10
46+
[[ShardChain.RatingStepsByEpoch]]
47+
EnableEpoch = 4128
48+
HoursToMaxRatingFromStartRating = 55
49+
ProposerValidatorImportance = 1.0
50+
ProposerDecreaseFactor = -4.0
51+
ValidatorDecreaseFactor = -4.0
52+
ConsecutiveMissedBlocksPenalty = 1.04
4653

4754
[MetaChain]
4855
[[MetaChain.RatingStepsByEpoch]]
@@ -52,6 +59,13 @@
5259
ProposerDecreaseFactor = -4.0
5360
ValidatorDecreaseFactor = -4.0
5461
ConsecutiveMissedBlocksPenalty = 1.10
62+
[[MetaChain.RatingStepsByEpoch]]
63+
EnableEpoch = 4128
64+
HoursToMaxRatingFromStartRating = 55
65+
ProposerValidatorImportance = 1.0
66+
ProposerDecreaseFactor = -4.0
67+
ValidatorDecreaseFactor = -4.0
68+
ConsecutiveMissedBlocksPenalty = 1.04
5569

5670
[PeerHonesty]
5771
#this value will be multiplied with the current value for a public key each DecayUpdateIntervalInSeconds seconds

0 commit comments

Comments
 (0)