Skip to content

Commit

Permalink
Merge pull request #41 from sacherjj/casper-1.4.15
Browse files Browse the repository at this point in the history
MainNet 1.4.15 protocol release
  • Loading branch information
sacherjj authored May 8, 2023
2 parents e7fb5a5 + 6768d61 commit ecdae6b
Show file tree
Hide file tree
Showing 5 changed files with 38 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.13-c8db6a737-casper-mainnet
1.4.15-039d438f2-casper-mainnet
27 changes: 27 additions & 0 deletions config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,33 @@ 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
### 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

Expand Down
14 changes: 7 additions & 7 deletions config/chainspec.toml
Original file line number Diff line number Diff line change
@@ -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.
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 = 8396
activation_point = 9246
# Optional era ID in which the last emergency restart happened.
#last_emergency_restart = 0

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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]
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion config/config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 2 additions & 1 deletion protocol_versions
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
1_4_6
1_4_8
1_4_9
1_4_13
1_4_13
1_4_15

0 comments on commit ecdae6b

Please sign in to comment.