Skip to content

Commit

Permalink
Merge pull request #40 from sacherjj/casper-test-1.4.15
Browse files Browse the repository at this point in the history
Config files for 1.4.15 casper-test protocol release.
  • Loading branch information
sacherjj authored May 2, 2023
2 parents c80e8be + 4cce17a commit 1d14358
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 11 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
28 changes: 26 additions & 2 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.15 - 9015
### 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

## Removed
* chainspec.toml
* wasm.opcode_costs
* regular

## 1.4.13 - 8154
### casper-node 1.4.13-c8db6a737-casper-mainnet

Expand Down Expand Up @@ -89,7 +113,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* version
* activation_point

## 1.4.5 - 4102
# 1.4.5 - 4102
### casper-node 1.4.5-a7f6a648d-casper-mainnet

## Added
Expand All @@ -116,7 +140,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* activation_point


## 1.4.3 - 2940
# 1.4.3 - 2940
### casper-node 1.4.3-a44bed1fd-casper-mainnet

## Changed
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 = 8154
activation_point = 9015
# Optional era ID in which the last emergency restart happened.
last_emergency_restart = 7098

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
3 changes: 2 additions & 1 deletion protocol_versions
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
1_4_7
1_4_8
1_4_10
1_4_13
1_4_13
1_4_15

0 comments on commit 1d14358

Please sign in to comment.