Skip to content

Commit 912f9bb

Browse files
authored
Merge pull request #5360 from sacherjj/for-release-2.1.0
Updating config files for 2.1.0 config update release.
2 parents dfa77e7 + 8c18e62 commit 912f9bb

File tree

8 files changed

+3480
-12
lines changed

8 files changed

+3480
-12
lines changed

resources/integration-test/chainspec.toml

Lines changed: 505 additions & 0 deletions
Large diffs are not rendered by default.

resources/integration-test/config-example.toml

Lines changed: 651 additions & 0 deletions
Large diffs are not rendered by default.

resources/mainnet/chainspec.toml

Lines changed: 505 additions & 0 deletions
Large diffs are not rendered by default.

resources/mainnet/config-example.toml

Lines changed: 651 additions & 0 deletions
Large diffs are not rendered by default.

resources/production/chainspec.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[protocol]
22
# Protocol version.
3-
version = '2.0.0'
3+
version = '2.1.0'
44
# Whether we need to clear latest blocks back to the switch block just before the activation point or not.
55
hard_reset = true
66
# This protocol version becomes active at this point.
@@ -11,7 +11,7 @@ hard_reset = true
1111
# in contract-runtime for computing genesis post-state hash.
1212
#
1313
# If it is an integer, it represents an era ID, meaning the protocol version becomes active at the start of this era.
14-
activation_point = 11000
14+
activation_point = 19665
1515

1616
[network]
1717
# Human readable name for convenience; the genesis_hash is the true identifier. The name influences the genesis hash by
@@ -29,7 +29,7 @@ era_duration = '120 minutes'
2929
# minimum height.
3030
minimum_era_height = 20
3131
# Minimum difference between a block's and its child's timestamp.
32-
minimum_block_time = '16384 ms'
32+
minimum_block_time = '8000 ms'
3333
# Number of slots available in validator auction.
3434
validator_slots = 100
3535
# A number between 0 and 1 representing the fault tolerance threshold as a fraction, used by the internal finalizer.
@@ -56,14 +56,14 @@ unbonding_delay = 7
5656
# Round seigniorage rate represented as a fraction of the total supply.
5757
#
5858
# Annual issuance: 8%
59-
# Minimum block time: 2^14 milliseconds
59+
# Minimum block time: 8000 milliseconds
6060
# Ticks per year: 31536000000
6161
#
62-
# (1+0.08)^((2^14)/31536000000)-1 is expressed as a fractional number below
62+
# (1+0.08)^((8000)/31536000000)-1 is expressed as a fractional number below
6363
# Python:
6464
# from fractions import Fraction
65-
# Fraction((1 + 0.08)**((2**14)/31536000000) - 1).limit_denominator(1000000000)
66-
round_seigniorage_rate = [7, 175070816]
65+
# Fraction((1 + 0.08)**((8000)/31536000000) - 1).limit_denominator(1000000000)
66+
round_seigniorage_rate = [11, 563427926]
6767
# Maximum number of associated keys for a single account.
6868
max_associated_keys = 100
6969
# Maximum height of contract runtime call stack.
@@ -121,7 +121,7 @@ refund_handling = { type = 'refund', refund_ratio = [75, 100] }
121121
# 'accumulate': fees are accumulated in a special purse and distributed at the end of each era evenly among all
122122
# administrator accounts
123123
# 'burn': fees are burned
124-
fee_handling = { type = 'pay_to_proposer' }
124+
fee_handling = { type = 'burn' }
125125
# If a validator would recieve a validator credit, it cannot exceed this percentage of their total stake.
126126
validator_credit_cap = [1, 5]
127127
# Defines how pricing is handled.
@@ -359,7 +359,7 @@ call_package_version = { cost = 300_000_000, arguments = [0, 0, 0, 0, 0, 0, 0, 1
359359

360360
[wasm.v2]
361361
# Amount of free memory each contract can use for stack.
362-
max_memory = 17
362+
max_memory = 64
363363

364364
[wasm.v2.opcode_costs]
365365
# Bit operations multiplier.

resources/production/config-example.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# and a node backing a dapp interested in auction activity or tracking trends would prefer to run in ttl mode.
3030
# note: as time goes on, the time to sync back to genesis takes progressively longer.
3131
# note: ttl is a chainsepc configured behavior on a given network; consult the `max_ttl` chainspec setting
32-
# (it is currently ~18 hours by default on production and production-like networks but subject to change).
32+
# (it is currently ~2 hours by default on production and production-like networks but subject to change).
3333
# note: `nosync` is incompatible with validator behavior; a nosync node is prevented from participating
3434
# in consensus / switching to validate mode. it is primarily for lightweight nodes that are
3535
# only interested in recent activity.
@@ -46,15 +46,15 @@ max_attempts = 3
4646
# Default delay for the control events that have no dedicated delay requirements.
4747
control_logic_default_delay = '1 second'
4848

49-
# Flag which forces the node to resync all of the blocks.
49+
# Flag which forces the node to resync all the blocks.
5050
force_resync = false
5151

5252
# A timeout for the ShutdownForUpgrade state, after which the node will upgrade even if not all
5353
# conditions are satisfied.
5454
shutdown_for_upgrade_timeout = '2 minutes'
5555

5656
# Maximum time a node will wait for an upgrade to commit.
57-
upgrade_timeout = '3 hours'
57+
upgrade_timeout = '30 seconds'
5858

5959
# The node detects when it should do a controlled shutdown when it is in a detectably bad state
6060
# in order to avoid potentially catastrophic uncontrolled crashes. Generally, a node should be

0 commit comments

Comments
 (0)