Skip to content

Commit

Permalink
casper 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sacherjj committed Feb 16, 2022
1 parent 8a041c5 commit 6e267ec
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 17 deletions.
2 changes: 1 addition & 1 deletion casper-node_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.1-c1f1c4df4-casper-mainnet
1.4.3-a44bed1fd-casper-mainnet
24 changes: 24 additions & 0 deletions config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
[comment]: <> (Fixed: any bug fixes)
[comment]: <> (Security: in case of vulnerabilities)

## 1.4.3 - 3111
### casper-node 1.4.3-a44bed1fd-casper-mainnet

## Added
* chainspec.toml
* core
* max_runtime_call_stack_height

## Changed
* chainspec.toml
* protocol
* version
* activation_point
* wasm
* max_stack_height
* host_function_costs
* transfer_from_purse_to_account
* transfer_to_account
* config-example.toml
* network
* known_addresses
* contract_runtime
* max_global_state_size


## 1.4.1 - 2600
### casper-node 1.4.1-c1f1c4df4-casper-mainnet
Expand Down
12 changes: 7 additions & 5 deletions config/chainspec.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[protocol]
# Protocol version.
version = '1.4.1'
version = '1.4.3'
# Whether we need to clear latest blocks back to the switch block just before the activation point or not.
hard_reset = true
# This protocol version becomes active at this point.
Expand All @@ -11,7 +11,7 @@ hard_reset = true
# 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 = 2600
activation_point = 3111
# Optional era ID in which the last emergency restart happened.
#last_emergency_restart = 0

Expand Down Expand Up @@ -52,6 +52,8 @@ unbonding_delay = 7
round_seigniorage_rate = [7, 87535408]
# Maximum number of associated keys for a single account.
max_associated_keys = 100
# Maximum height of contract runtime call stack.
max_runtime_call_stack_height = 12

[highway]
# A number between 0 and 1 representing the fault tolerance threshold as a fraction, used by the internal finalizer.
Expand Down Expand Up @@ -98,7 +100,7 @@ native_transfer_minimum_motes = 2_500_000_000
# Amount of free memory (in 64kB pages) each contract can use for stack.
max_memory = 64
# Max stack height (native WebAssembly stack limiter).
max_stack_height = 65_536
max_stack_height = 188

[wasm.storage_costs]
# Gas charged per byte stored in the global state.
Expand Down Expand Up @@ -178,9 +180,9 @@ remove_key = { cost = 61_000, arguments = [0, 3_200] }
ret = { cost = 23_000, arguments = [0, 420_000] }
revert = { cost = 500, arguments = [0] }
set_action_threshold = { cost = 74_000, arguments = [0, 0] }
transfer_from_purse_to_account = { cost = 160_000, arguments = [0, 0, 0, 0, 0, 0, 0, 0, 0] }
transfer_from_purse_to_account = { cost = 2_500_000_000, arguments = [0, 0, 0, 0, 0, 0, 0, 0, 0] }
transfer_from_purse_to_purse = { cost = 82_000, arguments = [0, 0, 0, 0, 0, 0, 0, 0] }
transfer_to_account = { cost = 24_000, arguments = [0, 0, 0, 0, 0, 0, 0] }
transfer_to_account = { cost = 2_500_000_000, arguments = [0, 0, 0, 0, 0, 0, 0] }
update_associated_key = { cost = 4_200, arguments = [0, 0, 0] }
write = { cost = 14_000, arguments = [0, 0, 0, 980] }
write_local = { cost = 9_500, arguments = [0, 1_800, 0, 520] }
Expand Down
12 changes: 5 additions & 7 deletions config/config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ secret_key_path = '/etc/casper/validator_keys/secret_key.pem'
# ===========================================
[consensus.highway]

# The folder in which the files with per-era latest unit hashes will be stored.
unit_hashes_folder = "/var/lib/casper/casper-node"

# The duration for which incoming vertices with missing dependencies should be kept in a queue.
pending_vertex_timeout = '30min'

Expand Down Expand Up @@ -116,7 +113,7 @@ bind_address = '0.0.0.0:35000'
#
# Multiple addresses can be given and the node will attempt to connect to each, requiring at least
# one connection.
known_addresses = ['168.119.137.143:35000','47.251.14.254:35000','47.242.53.164:35000','46.101.61.107:35000','47.88.87.63:35000','35.152.42.229:35000','206.189.47.102:35000','134.209.243.124:35000','148.251.190.103:35000','167.172.32.44:35000','165.22.252.48:35000','18.219.70.138:35000','3.225.191.9:35000','3.221.194.62:35000','101.36.120.117:35000','54.151.24.120:35000','148.251.135.60:35000','18.188.103.230:35000','54.215.53.35:35000','88.99.95.7:35000','99.81.225.72:35000','52.207.122.179:35000','3.135.134.105:35000','62.171.135.101:35000','139.162.132.144:35000','63.33.251.206:35000','135.181.165.110:35000','135.181.134.57:35000','94.130.107.198:35000','54.180.220.20:35000','188.40.83.254:35000','157.90.131.121:35000','134.209.110.11:35000','168.119.69.6:35000','45.76.251.225:35000','168.119.209.31:35000','31.7.207.16:35000','209.145.60.74:35000','54.252.66.23:35000','134.209.16.172:35000','178.238.235.196:35000','18.217.20.213:35000','3.14.161.135:35000','3.12.207.193:35000','3.12.207.193:35000']
known_addresses = ['168.119.137.143:35000','47.251.14.254:35000','47.242.53.164:35000','46.101.61.107:35000','47.88.87.63:35000','35.152.42.229:35000','134.209.243.124:35000','148.251.190.103:35000','18.219.70.138:35000','3.225.191.9:35000','3.221.194.62:35000','101.36.120.117:35000','54.151.24.120:35000','148.251.135.60:35000','18.188.103.230:35000','54.215.53.35:35000','88.99.95.7:35000','99.81.225.72:35000','63.33.251.206:35000','135.181.134.57:35000','54.180.220.20:35000','188.40.83.254:35000','157.90.131.121:35000','134.209.110.11:35000','168.119.209.31:35000','31.7.207.16:35000','178.238.235.196:35000','3.14.161.135:35000','3.12.207.193:35000','3.12.207.193:35000']

# The interval between each fresh round of gossiping the node's public address.
gossip_interval = '120sec'
Expand Down Expand Up @@ -205,7 +202,8 @@ max_concurrent_subscribers = 100
[storage]

# Path (absolute, or relative to this config.toml) to the folder where any files created
# or read by the storage component will exist.
# or read by the storage component will exist. A subfolder named with the network name will be
# automatically created and used for the storage component files.
#
# If the folder doesn't exist, it and any required parents will be created.
#
Expand Down Expand Up @@ -316,7 +314,7 @@ verify_accounts = true
# If unset, defaults to 805,306,368,000 == 750 GiB.
#
# The size should be a multiple of the OS page size.
#max_global_state_size = 805306368000
max_global_state_size = 1_099_511_627_776

# Optional depth limit to use for global state queries.
#
Expand All @@ -325,7 +323,7 @@ verify_accounts = true

# Enable manual synchronizing to disk.
#
# If unset, defaults to false.
# If unset, defaults to true.
enable_manual_sync = true


Expand Down
4 changes: 0 additions & 4 deletions config/global_state.toml

This file was deleted.

1 change: 1 addition & 0 deletions protocol_versions
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
1_3_2
1_3_4
1_4_1
1_4_3

0 comments on commit 6e267ec

Please sign in to comment.