Skip to content

Commit

Permalink
casper-test 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sacherjj committed Feb 15, 2022
1 parent e64d829 commit ea28815
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 37 deletions.
2 changes: 1 addition & 1 deletion casper-node_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0-31d7de47
1.1.1-874c2db4
22 changes: 22 additions & 0 deletions config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
27 changes: 0 additions & 27 deletions config/accounts.toml

This file was deleted.

19 changes: 12 additions & 7 deletions config/chainspec.toml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand All @@ -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]
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions config/config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
1 change: 1 addition & 0 deletions protocol_versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
1_0_0
1_1_0

0 comments on commit ea28815

Please sign in to comment.