From ea2881515f8aeb388d526ccbb4d95467ca1f5d7d Mon Sep 17 00:00:00 2001 From: Joe Sacher <321623+sacherjj@users.noreply.github.com> Date: Fri, 11 Feb 2022 14:14:32 -0500 Subject: [PATCH] casper-test 1.1.0 --- casper-node_release | 2 +- config/CHANGELOG.md | 22 ++++++++++++++++++++++ config/accounts.toml | 27 --------------------------- config/chainspec.toml | 19 ++++++++++++------- config/config-example.toml | 7 +++++-- protocol_versions | 1 + 6 files changed, 41 insertions(+), 37 deletions(-) delete mode 100644 config/accounts.toml diff --git a/casper-node_release b/casper-node_release index 27ef37b..50cf998 100644 --- a/casper-node_release +++ b/casper-node_release @@ -1 +1 @@ -1.0.0-31d7de47 \ No newline at end of file +1.1.1-874c2db4 \ No newline at end of file diff --git a/config/CHANGELOG.md b/config/CHANGELOG.md index 85c8fd1..0d24942 100644 --- a/config/CHANGELOG.md +++ b/config/CHANGELOG.md @@ -12,6 +12,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [comment]: <> (Security: in case of vulnerabilities) +## 1.1.0 - 166 +### casper-node 1.1.1-874c2db4 + +### Added +* chainspec.toml + * network + * maximum_net_message_size + * deploys + * max_deploy_size + +### Changed +* chainspec.toml + * protocol + * version + * hard_reset set to true + * activation_point + * system_costs + * auction_costs + * add_bid set to 2_500_000_000 + * delegate set to 2_500_000_000 + + ## 1.0.0 - 2021-04-08T17:00:00Z ### casper-node 1.0.0-31d7de47 diff --git a/config/accounts.toml b/config/accounts.toml deleted file mode 100644 index 5e77bb1..0000000 --- a/config/accounts.toml +++ /dev/null @@ -1,27 +0,0 @@ -[[accounts]] -public_key = "018afa98ca4be12d613617f7339a2d576950a2f9a92102ca4d6508ee31b54d2c02" -balance = "9999995600000000000" - -[[accounts]] -public_key = "0106ca7c39cd272dbf21a86eeb3b36b7c26e2e9b94af64292419f7862936bca2ca" -balance = "100000000000" - -[accounts.validator] -bonded_amount = "1000000000000" -delegation_rate = 10 - -[[accounts]] -public_key = "017d96b9a63abcb61c870a4f55187a0a7ac24096bdb5fc585c12a686a4d892009e" -balance = "100000000000" - -[accounts.validator] -bonded_amount = "1000000000000" -delegation_rate = 10 - -[[accounts]] -public_key = "016f6ed70e4a5acec750dc087674e5de2ad7b6d9595945c4059c5ca1a47d4dd3ab" -balance = "1100000000000" - -[[accounts]] -public_key = "01fddc7e47ac36a240007eba368e417dd52d824026fb9baaa1454817993ce985ea" -balance = "1100000000000" diff --git a/config/chainspec.toml b/config/chainspec.toml index f8bf215..b80dbd5 100644 --- a/config/chainspec.toml +++ b/config/chainspec.toml @@ -1,8 +1,8 @@ [protocol] # Protocol version. -version = '1.0.0' +version = '1.1.0' # Whether we need to clear latest blocks back to the switch block just before the activation point or not. -hard_reset = false +hard_reset = true # This protocol version becomes active at this point. # # If it is a timestamp string, it represents the timestamp for the genesis block. This is the beginning of era 0. By @@ -11,13 +11,16 @@ hard_reset = false # in contract-runtime for computing genesis post-state hash. # # If it is an integer, it represents an era ID, meaning the protocol version becomes active at the start of this era. -activation_point = '2021-04-08T17:00:00Z' +activation_point = 166 [network] # Human readable name for convenience; the genesis_hash is the true identifier. The name influences the genesis hash by # contributing to the seeding of the pseudo-random number generator used in contract-runtime for computing genesis # post-state hash. name = 'casper-test' +# The maximum size of an acceptable networking message in bytes. Any message larger than this will +# be rejected at the networking level. +maximum_net_message_size = 23_068_672 [core] # Era duration. @@ -36,14 +39,14 @@ locked_funds_period = '90days' unbonding_delay = 7 # Round seigniorage rate represented as a fraction of the total supply. # -# Annual issuance: 8% +# Annual issuance: 0.25% # Minimum round exponent: 16 # Ticks per year: 31536000000 # # (1+0.08)^((2^16)/31536000000)-1 is expressed as a fractional number below # Python: # from fractions import Fraction -# Fraction((1 + 0.08)**((2**16)/31536000000) - 1).limit_denominator(1000000000) +# Fraction((1 + 0.0025)**((2**16)/31536000000) - 1).limit_denominator(1000000000) round_seigniorage_rate = [1, 192720971] [highway] @@ -72,6 +75,8 @@ max_ttl = '1day' max_dependencies = 10 # Maximum block size in bytes including deploys contained by the block. 0 means unlimited. max_block_size = 10_485_760 +# Maximum deploy size in bytes. Size is of the deploy when serialized via ToBytes. +max_deploy_size = 1_048_576 # The maximum number of non-transfer deploys permitted in a single block. block_max_deploy_count = 100 # The maximum number of wasm-less transfer deploys permitted in a single block. @@ -182,9 +187,9 @@ wasmless_transfer_cost = 10_000 [system_costs.auction_costs] get_era_validators = 10_000 read_seigniorage_recipients = 10_000 -add_bid = 10_000 +add_bid = 2_500_000_000 withdraw_bid = 10_000 -delegate = 10_000 +delegate = 2_500_000_000 undelegate = 10_000 run_auction = 10_000 slash = 10_000 diff --git a/config/config-example.toml b/config/config-example.toml index 0a94988..bbcd653 100644 --- a/config/config-example.toml +++ b/config/config-example.toml @@ -26,7 +26,6 @@ abbreviate_modules = false # Configuration options for consensus # =================================== [consensus] - # Path (absolute, or relative to this config.toml) to validator's secret key file used to sign # consensus messages. secret_key_path = '/etc/casper/validator_keys/secret_key.pem' @@ -67,7 +66,6 @@ bind_address = '0.0.0.0:35000' # one connection. known_addresses = ['3.208.91.63:35000','35.169.197.193:35000'] - # The interval (in milliseconds) between each fresh round of gossiping the node's public address. gossip_interval = 120_000 @@ -256,3 +254,8 @@ verify_accounts = true # # The size should be a multiple of the OS page size. #max_global_state_size = 805306368000 + +# Optional depth limit to use for global state queries. +# +# If unset, defaults to 5. +#max_query_depth = 5 diff --git a/protocol_versions b/protocol_versions index fa86168..c79c509 100644 --- a/protocol_versions +++ b/protocol_versions @@ -1 +1,2 @@ 1_0_0 +1_1_0