Skip to content

Commit

Permalink
integration-test 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sacherjj committed Feb 15, 2022
1 parent 3bf5310 commit 776f4cb
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 10 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-dd260c86a-casper-mainnet
1.4.2-930a43774-casper-mainnet
18 changes: 18 additions & 0 deletions config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
[comment]: <> (Security: in case of vulnerabilities)


## 1.4.2 - 2680
### casper-node 1.4.2-930a43774-casper-mainnet

## Added
* chainspec.toml
* core
* max_runtime_call_stack_height

## Changed
* chainspec.toml
* protocol
* version
* activation_point
* wasm
* host_function_costs
* transfer_from_purse_to_account
* transfer_to_account

## 1.4.1 - 2369
### casper-node 1.4.1-dd260c86a-casper-mainnet

Expand Down
10 changes: 6 additions & 4 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.2'
# 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 = 2369
activation_point = 2680
# 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 @@ -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
8 changes: 3 additions & 5 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 @@ -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 = 1099511627776

# Optional depth limit to use for global state queries.
#
Expand Down
1 change: 1 addition & 0 deletions protocol_versions
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
1_3_4
1_4_0
1_4_1
1_4_2

0 comments on commit 776f4cb

Please sign in to comment.