From 8d88bde2f80105af30150a30e3506643d52b084d Mon Sep 17 00:00:00 2001 From: Joe Sacher <321623+sacherjj@users.noreply.github.com> Date: Mon, 8 May 2023 13:49:49 -0400 Subject: [PATCH 1/2] 1.4.15 config for MainNet --- casper-node_release | 2 +- config/CHANGELOG.md | 29 ++++++++++++++++++++++++++++- config/chainspec.toml | 14 +++++++------- config/config-example.toml | 2 +- protocol_versions | 3 ++- 5 files changed, 39 insertions(+), 11 deletions(-) diff --git a/casper-node_release b/casper-node_release index fecdb81..32e7bbc 100644 --- a/casper-node_release +++ b/casper-node_release @@ -1 +1 @@ -1.4.13-c8db6a737-casper-mainnet \ No newline at end of file +1.4.15-039d438f2-casper-mainnet \ No newline at end of file diff --git a/config/CHANGELOG.md b/config/CHANGELOG.md index e746218..8fdecdf 100644 --- a/config/CHANGELOG.md +++ b/config/CHANGELOG.md @@ -11,7 +11,34 @@ 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.13 - 8396 +# 1.4.15 - 9246 +### casper-node 1.4.15-039d438f2-casper-mainnet + +## Added +* chainspec.toml + * core + * prune_batch_size + +## Changed +* chainspec.toml + * protocol + * version + * activation_point + * wasm + * max_stack_height + * opcode_costs.control_flow + * call + * call_indirect +* config-example.toml + * network + * known_addresses + +## Removed +* chainspec.toml + * wasm.opcode_costs + * regular + +# 1.4.13 - 8396 ### casper-node 1.4.13-c8db6a737-casper-mainnet ## Added diff --git a/config/chainspec.toml b/config/chainspec.toml index a10cc15..9ed1109 100644 --- a/config/chainspec.toml +++ b/config/chainspec.toml @@ -1,6 +1,6 @@ [protocol] # Protocol version. -version = '1.4.13' +version = '1.4.15' # 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. @@ -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 = 8396 +activation_point = 9246 # Optional era ID in which the last emergency restart happened. #last_emergency_restart = 0 @@ -58,6 +58,8 @@ max_runtime_call_stack_height = 12 max_stored_value_size = 8_388_608 # Minimum allowed delegation amount in motes minimum_delegation_amount = 500_000_000_000 +# Global state prune batch size (0 = this feature is off) +prune_batch_size = 50 [highway] # A number between 0 and 1 representing the fault tolerance threshold as a fraction, used by the internal finalizer. @@ -106,7 +108,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 = 188 +max_stack_height = 200 [wasm.storage_costs] # Gas charged per byte stored in the global state. @@ -143,8 +145,6 @@ nop = 200 current_memory = 290 # Grow memory cost, per page (64kb). grow_memory = 240_000 -# Regular opcode cost. -regular = 210 # Control flow operations multiplier. [wasm.opcode_costs.control_flow] @@ -157,8 +157,8 @@ br = 440_000 br_if = 440_000 return = 440 select = 440 -call = 440 -call_indirect = 440 +call = 140_000 +call_indirect = 140_000 drop = 440 [wasm.opcode_costs.control_flow.br_table] diff --git a/config/config-example.toml b/config/config-example.toml index 51dbfcf..8b0709f 100644 --- a/config/config-example.toml +++ b/config/config-example.toml @@ -113,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 = ['34.192.231.34:35000','168.119.137.143:35000','46.101.61.107:35000','47.88.87.63:35000','35.152.42.229:35000','148.251.190.103:35000','18.219.70.138:35000','3.225.191.9:35000','3.221.194.62:35000','54.151.24.120:35000','99.81.225.72:35000','63.33.251.206:35000','54.180.220.20:35000','188.40.83.254:35000','157.90.131.121:35000','168.119.209.31:35000','13.51.218.68:35000','13.91.109.211:35000','15.235.53.173:35000','15.235.53.233:35000','178.162.231.183:35000','71.105.223.69:35000','84.16.224.170:35000','144.76.85.204:35000','88.218.224.93:35000','15.235.14.86:35000','15.235.53.230:35000','188.40.16.94:35000','65.108.97.204:35000','65.108.101.62:35000','65.21.129.12:35000','3.17.72.47:35000','185.132.179.56:35000','20.51.219.57:35000','135.181.216.81:35000','162.19.171.49:35000','185.132.178.196:35000','65.108.69.41:35000','135.181.76.244:35000'] +known_addresses = ['34.192.231.34:35000','168.119.137.143:35000','46.101.61.107:35000','47.88.87.63:35000','35.152.42.229:35000','148.251.190.103:35000','18.219.70.138:35000','3.225.191.9:35000','3.221.194.62:35000','54.151.24.120:35000','99.81.225.72:35000','63.33.251.206:35000','54.180.220.20:35000','188.40.83.254:35000','157.90.131.121:35000','168.119.209.31:35000','13.51.218.68:35000','15.235.53.173:35000','15.235.53.233:35000','178.162.231.183:35000','71.105.223.69:35000','84.16.224.170:35000','144.76.85.204:35000','88.218.224.93:35000','15.235.14.86:35000','15.235.53.230:35000','188.40.16.94:35000','65.108.101.62:35000','65.21.129.12:35000','3.17.72.47:35000','20.51.219.57:35000','135.181.216.81:35000','162.19.171.49:35000','185.132.178.196:35000','65.108.69.41:35000','135.181.76.244:35000'] # The interval between each fresh round of gossiping the node's public address. gossip_interval = '120sec' diff --git a/protocol_versions b/protocol_versions index 5286eba..b4c55c4 100644 --- a/protocol_versions +++ b/protocol_versions @@ -12,4 +12,5 @@ 1_4_6 1_4_8 1_4_9 -1_4_13 \ No newline at end of file +1_4_13 +1_4_15 \ No newline at end of file From 6768d619774d3186f6bcc64a32ff38e7a8a06816 Mon Sep 17 00:00:00 2001 From: Joe Sacher <321623+sacherjj@users.noreply.github.com> Date: Mon, 8 May 2023 14:27:02 -0400 Subject: [PATCH 2/2] Minor bullet level changes to CHANGELOG.md --- config/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/CHANGELOG.md b/config/CHANGELOG.md index 8fdecdf..c617d06 100644 --- a/config/CHANGELOG.md +++ b/config/CHANGELOG.md @@ -11,7 +11,7 @@ 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.15 - 9246 +## 1.4.15 - 9246 ### casper-node 1.4.15-039d438f2-casper-mainnet ## Added @@ -38,7 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * wasm.opcode_costs * regular -# 1.4.13 - 8396 +## 1.4.13 - 8396 ### casper-node 1.4.13-c8db6a737-casper-mainnet ## Added