Skip to content

Commit

Permalink
Merge pull request #4125 from Fraser999/version-bump
Browse files Browse the repository at this point in the history
Version bumps
  • Loading branch information
sacherjj authored Jul 12, 2023
2 parents c2d6d01 + 19288eb commit 86b7013
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 32 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions json_rpc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ All notable changes to this project will be documented in this file. The format
[comment]: <> (Security: in case of vulnerabilities)



## 1.1.0

### Added
* Support configuration of CORS Origin.



## 1.0.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion json_rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "casper-json-rpc"
version = "1.0.0"
version = "1.1.0"
authors = ["Fraser Hutchison <[email protected]>"]
edition = "2018"
description = "A library suitable for use as the framework for a JSON-RPC server."
Expand Down
2 changes: 1 addition & 1 deletion json_rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
//! Generally a set of custom error codes should be provided. These should all implement
//! [`ErrorCodeT`].
#![doc(html_root_url = "https://docs.rs/casper-json-rpc/1.0.0")]
#![doc(html_root_url = "https://docs.rs/casper-json-rpc/1.1.0")]
#![doc(
html_favicon_url = "https://raw.githubusercontent.com/casper-network/casper-node/master/images/CasperLabs_Logo_Favicon_RGB_50px.png",
html_logo_url = "https://raw.githubusercontent.com/casper-network/casper-node/master/images/CasperLabs_Logo_Symbol_RGB.png",
Expand Down
5 changes: 3 additions & 2 deletions node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ All notable changes to this project will be documented in this file. The format
[comment]: <> (Fixed: any bug fixes)
[comment]: <> (Security: in case of vulnerabilities)

## [Unreleased]


## 1.5.2

### Added
* Added the `cors_origin` config option under the `[rest_server]`, `[rpc_server]`, `[event_stream_server]` and `[speculative_exec_server]` sections to allow configuration of the CORS mechanism.
* Added the `cors_origin` config option under the `[rest_server]`, `[rpc_server]`, `[event_stream_server]` and `[speculative_exec_server]` sections to allow configuration of the CORS Origin.



## 1.5.1
Expand All @@ -27,6 +27,7 @@ All notable changes to this project will be documented in this file. The format
* `speculative_exec` server now routes deploys to `DeployAcceptor` for more comprehensive validation, including cryptographic verification of signatures.



## 1.5.0-rc.1

### Added
Expand Down
4 changes: 2 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "casper-node"
version = "1.5.1" # when updating, also update 'html_root_url' in lib.rs
version = "1.5.2" # when updating, also update 'html_root_url' in lib.rs
authors = ["Marc Brinkmann <[email protected]>", "Fraser Hutchison <[email protected]>"]
edition = "2018"
description = "The Casper blockchain node"
Expand All @@ -23,7 +23,7 @@ bincode = "1"
bytes = "1.0.1"
casper-execution-engine = { version = "5.0.0", path = "../execution_engine" }
casper-hashing = { version = "2.0.0", path = "../hashing" }
casper-json-rpc = { version = "1.0.0", path = "../json_rpc" }
casper-json-rpc = { version = "1.1.0", path = "../json_rpc" }
casper-types = { version = "3.0.0", path = "../types", features = ["datasize", "json-schema", "std"] }
datasize = { version = "0.2.11", features = ["detailed", "fake_clock-types", "futures-types", "smallvec-types"] }
derive_more = "0.99.7"
Expand Down
2 changes: 1 addition & 1 deletion node/src/components/rpc_server/rpcs/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use super::{
use crate::effect::EffectBuilder;

pub(crate) const DOCS_EXAMPLE_PROTOCOL_VERSION: ProtocolVersion =
ProtocolVersion::from_parts(1, 5, 1);
ProtocolVersion::from_parts(1, 5, 2);

const DEFINITIONS_PATH: &str = "#/components/schemas/";

Expand Down
2 changes: 1 addition & 1 deletion node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! While the [`main`](fn.main.html) function is the central entrypoint for the node application,
//! its core event loop is found inside the [reactor](reactor/index.html).
#![doc(html_root_url = "https://docs.rs/casper-node/1.5.1")]
#![doc(html_root_url = "https://docs.rs/casper-node/1.5.2")]
#![doc(
html_favicon_url = "https://raw.githubusercontent.com/CasperLabs/casper-node/master/images/CasperLabs_Logo_Favicon_RGB_50px.png",
html_logo_url = "https://raw.githubusercontent.com/CasperLabs/casper-node/master/images/CasperLabs_Logo_Symbol_RGB.png",
Expand Down
2 changes: 1 addition & 1 deletion resources/production/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 Down
38 changes: 19 additions & 19 deletions resources/test/rpc_schema_hashing.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"openrpc": "1.0.0-rc1",
"info": {
"version": "1.5.1",
"version": "1.5.2",
"title": "Client API of Casper Node",
"description": "This describes the JSON-RPC 2.0 API of a node on the Casper network.",
"contact": {
Expand Down Expand Up @@ -120,7 +120,7 @@
"result": {
"name": "account_put_deploy_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"deploy_hash": "5c9b3b099c1378aa8e4a5f07f59ff1fcdc69a83179427c7e67ae0377d94d93fa"
}
}
Expand Down Expand Up @@ -205,7 +205,7 @@
"result": {
"name": "info_get_deploy_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"deploy": {
"hash": "5c9b3b099c1378aa8e4a5f07f59ff1fcdc69a83179427c7e67ae0377d94d93fa",
"header": {
Expand Down Expand Up @@ -372,7 +372,7 @@
"result": {
"name": "state_get_account_info_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"account": {
"account_hash": "account-hash-e94daaff79c2ab8d9c31d9c3058d7d0a0dd31204a5638dc1451fa67b2e3fb88c",
"named_keys": [],
Expand Down Expand Up @@ -468,7 +468,7 @@
"result": {
"name": "state_get_dictionary_item_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"dictionary_key": "dictionary-67518854aa916c97d4e53df8570c8217ccc259da2721b692102d76acd0ee8d1f",
"stored_value": {
"CLValue": {
Expand Down Expand Up @@ -576,7 +576,7 @@
"result": {
"name": "query_global_state_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"block_header": {
"parent_hash": "0707070707070707070707070707070707070707070707070707070707070707",
"state_root_hash": "0808080808080808080808080808080808080808080808080808080808080808",
Expand Down Expand Up @@ -710,7 +710,7 @@
"result": {
"name": "query_balance_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"balance": "123456"
}
}
Expand Down Expand Up @@ -750,7 +750,7 @@
"result": {
"name": "info_get_peers_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"peers": [
{
"node_id": "tls:0101..0101",
Expand Down Expand Up @@ -885,7 +885,7 @@
"address": "127.0.0.1:54321"
}
],
"api_version": "1.5.1",
"api_version": "1.5.2",
"build_version": "1.0.0-xxxxxxxxx@DEBUG",
"chainspec_name": "casper-example",
"starting_state_root_hash": "0000000000000000000000000000000000000000000000000000000000000000",
Expand Down Expand Up @@ -963,7 +963,7 @@
"result": {
"name": "info_get_validator_changes_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"changes": [
{
"public_key": "01d9bf2148748a85c89da5aad8ee0b0fc2d105fd39d41a4c796536354f0ae2900c",
Expand Down Expand Up @@ -1012,7 +1012,7 @@
"result": {
"name": "info_get_chainspec_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"chainspec_bytes": {
"chainspec_bytes": "2a2a",
"maybe_genesis_accounts_bytes": null,
Expand Down Expand Up @@ -1078,7 +1078,7 @@
"result": {
"name": "chain_get_block_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"block": {
"hash": "13c2d7a68ecdd4b74bf4393c88915c836c863fc4bf11d7f2bd930a1bbccacdcb",
"header": {
Expand Down Expand Up @@ -1206,7 +1206,7 @@
"result": {
"name": "chain_get_block_transfers_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"block_hash": "13c2d7a68ecdd4b74bf4393c88915c836c863fc4bf11d7f2bd930a1bbccacdcb",
"transfers": [
{
Expand Down Expand Up @@ -1280,7 +1280,7 @@
"result": {
"name": "chain_get_state_root_hash_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"state_root_hash": "0808080808080808080808080808080808080808080808080808080808080808"
}
}
Expand Down Expand Up @@ -1369,7 +1369,7 @@
"result": {
"name": "state_get_item_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"stored_value": {
"CLValue": {
"cl_type": "U64",
Expand Down Expand Up @@ -1447,7 +1447,7 @@
"result": {
"name": "state_get_balance_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"balance_value": "123456",
"merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3"
}
Expand Down Expand Up @@ -1510,7 +1510,7 @@
"result": {
"name": "chain_get_era_info_by_switch_block_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"era_summary": {
"block_hash": "13c2d7a68ecdd4b74bf4393c88915c836c863fc4bf11d7f2bd930a1bbccacdcb",
"era_id": 42,
Expand Down Expand Up @@ -1590,7 +1590,7 @@
"result": {
"name": "state_get_auction_info_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"auction_state": {
"state_root_hash": "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b",
"block_height": 10,
Expand Down Expand Up @@ -1672,7 +1672,7 @@
"result": {
"name": "chain_get_era_summary_example_result",
"value": {
"api_version": "1.5.1",
"api_version": "1.5.2",
"era_summary": {
"block_hash": "13c2d7a68ecdd4b74bf4393c88915c836c863fc4bf11d7f2bd930a1bbccacdcb",
"era_id": 42,
Expand Down
2 changes: 1 addition & 1 deletion smart_contracts/contract_as/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion smart_contracts/contract_as/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-contract",
"version": "1.5.1",
"version": "1.5.2",
"description": "Library for developing Casper smart contracts.",
"homepage": "https://docs.casperlabs.io/en/latest/dapp-dev-guide/index.html",
"repository": {
Expand Down

0 comments on commit 86b7013

Please sign in to comment.