Skip to content

Commit

Permalink
Merge pull request #45 from sacherjj/integration-test-1.5.2
Browse files Browse the repository at this point in the history
CORS settings for 1.5.2
  • Loading branch information
sacherjj authored Jul 13, 2023
2 parents e0fad3e + 8576d2e commit a54efa6
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 28 deletions.
2 changes: 1 addition & 1 deletion casper-node_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1-805a420
1.5.2-86b7013
20 changes: 20 additions & 0 deletions config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@ 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.5.2 - 9883
### casper-node 1.5.2-86b7013

## Added
* config-example.toml
* rpc_server
* cors_origin
* speculative_exec_server
* cors_origin
* rest_server
* cors_origin
* event_stream_server
* cors_origin

## Changes
* chainspec.toml
* protocol
* version
*

## 1.5.1 - 9534
### casper-node 1.5.1-805a420

Expand Down
4 changes: 2 additions & 2 deletions config/chainspec.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[protocol]
# Protocol version.
version = '1.5.1'
version = '1.5.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 = 9534
activation_point = 9883

[network]
# Human readable name for convenience; the genesis_hash is the true identifier. The name influences the genesis hash by
Expand Down
27 changes: 27 additions & 0 deletions config/config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,13 @@ qps_limit = 100
# Maximum number of bytes to accept in a single request body.
max_body_bytes = 2_621_440

# Specifies which origin will be reported as allowed by RPC server.
#
# If left empty, CORS will be disabled.
# If set to '*', any origin is allowed.
# Otherwise, only a specified origin is allowed. The given string must conform to the [origin scheme](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin).
cors_origin = ''


# ========================================================================
# Configuration options for the speculative execution JSON-RPC HTTP server
Expand All @@ -303,6 +310,13 @@ qps_limit = 1
# Maximum number of bytes to accept in a single request body.
max_body_bytes = 2_621_440

# Specifies which origin will be reported as allowed by speculative execution server.
#
# If left empty, CORS will be disabled.
# If set to '*', any origin is allowed.
# Otherwise, only a specified origin is allowed. The given string must conform to the [origin scheme](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin).
cors_origin = ''


# ==============================================
# Configuration options for the REST HTTP server
Expand All @@ -324,6 +338,13 @@ address = '0.0.0.0:8888'
# Request will be delayed to the next 1 second bucket once limited.
qps_limit = 10

# Specifies which origin will be reported as allowed by REST server.
#
# If left empty, CORS will be disabled.
# If set to '*', any origin is allowed.
# Otherwise, only a specified origin is allowed. The given string must conform to the [origin scheme](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin).
cors_origin = ''


# ==========================================================
# Configuration options for the SSE HTTP event stream server
Expand All @@ -347,6 +368,12 @@ event_stream_buffer_length = 5000
# The maximum number of subscribers across all event streams the server will permit at any one time.
max_concurrent_subscribers = 100

# Specifies which origin will be reported as allowed by event stream server.
#
# If left empty, CORS will be disabled.
# If set to '*', any origin is allowed.
# Otherwise, only a specified origin is allowed. The given string must conform to the [origin scheme](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin).
cors_origin = ''

# ===============================================
# Configuration options for the storage component
Expand Down
27 changes: 2 additions & 25 deletions protocol_versions
Original file line number Diff line number Diff line change
@@ -1,25 +1,2 @@
1_0_0
1_1_0
1_1_2
1_2_0
1_2_1
1_3_1
1_3_2
1_3_4
1_4_0
1_4_1
1_4_2
1_4_3
1_4_4
1_4_5
1_4_6
1_4_7
1_4_8
1_4_9
1_4_10
1_4_11
1_4_12
1_4_13
1_4_15
1_5_0
1_5_1
1_5_1
1_5_2

0 comments on commit a54efa6

Please sign in to comment.