diff --git a/Cargo.lock b/Cargo.lock index 1fbbd1bae1..e0d6479bb1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -491,7 +491,7 @@ dependencies = [ [[package]] name = "casper-node" -version = "1.4.7" +version = "1.4.8" dependencies = [ "ansi_term", "anyhow", diff --git a/node/CHANGELOG.md b/node/CHANGELOG.md index 102a14e26e..feadf6026e 100644 --- a/node/CHANGELOG.md +++ b/node/CHANGELOG.md @@ -11,6 +11,13 @@ All notable changes to this project will be documented in this file. The format +## 1.4.8 + +### Changed +* Update `casper-execution-engine`. + + + ## 1.4.7 ### Changed diff --git a/node/Cargo.toml b/node/Cargo.toml index b3392e9d55..6ec953b12e 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "casper-node" -version = "1.4.7" # when updating, also update 'html_root_url' in lib.rs +version = "1.4.8" # when updating, also update 'html_root_url' in lib.rs authors = ["Marc Brinkmann ", "Fraser Hutchison "] edition = "2018" description = "The Casper blockchain node" diff --git a/node/src/components/rpc_server/rpcs/docs.rs b/node/src/components/rpc_server/rpcs/docs.rs index c8d25a02ee..176cbfb189 100644 --- a/node/src/components/rpc_server/rpcs/docs.rs +++ b/node/src/components/rpc_server/rpcs/docs.rs @@ -36,7 +36,7 @@ use crate::{ }; pub(crate) const DOCS_EXAMPLE_PROTOCOL_VERSION: ProtocolVersion = - ProtocolVersion::from_parts(1, 4, 7); + ProtocolVersion::from_parts(1, 4, 8); const DEFINITIONS_PATH: &str = "#/components/schemas/"; diff --git a/node/src/lib.rs b/node/src/lib.rs index c2ef5225da..f7dfca7725 100644 --- a/node/src/lib.rs +++ b/node/src/lib.rs @@ -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.4.7")] +#![doc(html_root_url = "https://docs.rs/casper-node/1.4.8")] #![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", diff --git a/resources/production/chainspec.toml b/resources/production/chainspec.toml index 2451517b5f..e3fc4170e4 100644 --- a/resources/production/chainspec.toml +++ b/resources/production/chainspec.toml @@ -1,6 +1,6 @@ [protocol] # Protocol version. -version = '1.4.7' +version = '1.4.8' # 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. diff --git a/resources/test/rpc_schema_hashing_V1.json b/resources/test/rpc_schema_hashing_V1.json index 848933a057..e876e9594e 100644 --- a/resources/test/rpc_schema_hashing_V1.json +++ b/resources/test/rpc_schema_hashing_V1.json @@ -2718,7 +2718,7 @@ "url": "https://raw.githubusercontent.com/CasperLabs/casper-node/master/LICENSE" }, "title": "Client API of Casper Node", - "version": "1.4.7" + "version": "1.4.8" }, "methods": [ { @@ -2783,7 +2783,7 @@ "result": { "name": "account_put_deploy_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "deploy_hash": "5c9b3b099c1378aa8e4a5f07f59ff1fcdc69a83179427c7e67ae0377d94d93fa" } } @@ -2841,7 +2841,7 @@ "result": { "name": "info_get_deploy_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "deploy": { "approvals": [ { @@ -3020,7 +3020,7 @@ "main_purse": "uref-09480c3248ef76b603d386f3f4f8a5f87f597d4eaffd475433f861af187ab5db-007", "named_keys": [] }, - "api_version": "1.4.7", + "api_version": "1.4.8", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3" } } @@ -3103,7 +3103,7 @@ "result": { "name": "state_get_dictionary_item_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "dictionary_key": "dictionary-67518854aa916c97d4e53df8570c8217ccc259da2721b692102d76acd0ee8d1f", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3", "stored_value": { @@ -3193,7 +3193,7 @@ "result": { "name": "query_global_state_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "block_header": { "accumulated_seed": "ac979f51525cfd979b14aa7dc0737c5154eabe0db9280eceaa8dc8d2905b20d5", "body_hash": "cd502c5393a3c8b66d6979ad7857507c9baf5a8ba16ba99c28378d3a970fff42", @@ -3336,7 +3336,7 @@ "result": { "name": "info_get_peers_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "peers": [ { "address": "127.0.0.1:54321", @@ -3381,7 +3381,7 @@ "result": { "name": "info_get_status_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "build_version": "1.0.0-xxxxxxxxx@DEBUG", "chainspec_name": "casper-example", "last_added_block_info": { @@ -3508,7 +3508,7 @@ "result": { "name": "info_get_validator_changes_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "changes": [ { "public_key": "01d9bf2148748a85c89da5aad8ee0b0fc2d105fd39d41a4c796536354f0ae2900c", @@ -3568,7 +3568,7 @@ "result": { "name": "chain_get_block_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "block": { "body": { "deploy_hashes": [], @@ -3686,7 +3686,7 @@ "result": { "name": "chain_get_block_transfers_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "block_hash": "13c2d7a68ecdd4b74bf4393c88915c836c863fc4bf11d7f2bd930a1bbccacdcb", "transfers": [ { @@ -3770,7 +3770,7 @@ "result": { "name": "chain_get_state_root_hash_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "state_root_hash": "0808080808080808080808080808080808080808080808080808080808080808" } } @@ -3840,7 +3840,7 @@ "result": { "name": "state_get_item_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3", "stored_value": { "CLValue": { @@ -3930,7 +3930,7 @@ "result": { "name": "state_get_balance_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "balance_value": "123456", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3" } @@ -4000,7 +4000,7 @@ "result": { "name": "chain_get_era_info_by_switch_block_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "era_summary": { "block_hash": "13c2d7a68ecdd4b74bf4393c88915c836c863fc4bf11d7f2bd930a1bbccacdcb", "era_id": 42, @@ -4086,7 +4086,7 @@ "result": { "name": "state_get_auction_info_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "auction_state": { "bids": [ { diff --git a/resources/test/rpc_schema_hashing_V2.json b/resources/test/rpc_schema_hashing_V2.json index 74e1f61eae..49d1cd97e9 100644 --- a/resources/test/rpc_schema_hashing_V2.json +++ b/resources/test/rpc_schema_hashing_V2.json @@ -2717,7 +2717,7 @@ "url": "https://raw.githubusercontent.com/CasperLabs/casper-node/master/LICENSE" }, "title": "Client API of Casper Node", - "version": "1.4.7" + "version": "1.4.8" }, "methods": [ { @@ -2782,7 +2782,7 @@ "result": { "name": "account_put_deploy_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "deploy_hash": "5c9b3b099c1378aa8e4a5f07f59ff1fcdc69a83179427c7e67ae0377d94d93fa" } } @@ -2836,7 +2836,7 @@ "result": { "name": "info_get_deploy_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "deploy": { "approvals": [ { @@ -3006,7 +3006,7 @@ "main_purse": "uref-09480c3248ef76b603d386f3f4f8a5f87f597d4eaffd475433f861af187ab5db-007", "named_keys": [] }, - "api_version": "1.4.7", + "api_version": "1.4.8", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3" } } @@ -3089,7 +3089,7 @@ "result": { "name": "state_get_dictionary_item_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "dictionary_key": "dictionary-67518854aa916c97d4e53df8570c8217ccc259da2721b692102d76acd0ee8d1f", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3", "stored_value": { @@ -3179,7 +3179,7 @@ "result": { "name": "query_global_state_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "block_header": { "accumulated_seed": "ac979f51525cfd979b14aa7dc0737c5154eabe0db9280eceaa8dc8d2905b20d5", "body_hash": "8472b18539dc204cf7cb0520bb5c3a91c1551a5c258189a61a15d3a2a35f1763", @@ -3322,7 +3322,7 @@ "result": { "name": "info_get_peers_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "peers": [ { "address": "127.0.0.1:54321", @@ -3367,7 +3367,7 @@ "result": { "name": "info_get_status_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "build_version": "1.0.0-xxxxxxxxx@DEBUG", "chainspec_name": "casper-example", "last_added_block_info": { @@ -3494,7 +3494,7 @@ "result": { "name": "info_get_validator_changes_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "changes": [ { "public_key": "01d9bf2148748a85c89da5aad8ee0b0fc2d105fd39d41a4c796536354f0ae2900c", @@ -3554,7 +3554,7 @@ "result": { "name": "chain_get_block_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "block": { "body": { "deploy_hashes": [ @@ -3672,7 +3672,7 @@ "result": { "name": "chain_get_block_transfers_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "block_hash": "6b5db3585233ed0076910d3a81fa7d23fc4325f35e06d31f293043aef3f4c98d", "transfers": [ { @@ -3756,7 +3756,7 @@ "result": { "name": "chain_get_state_root_hash_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "state_root_hash": "0808080808080808080808080808080808080808080808080808080808080808" } } @@ -3826,7 +3826,7 @@ "result": { "name": "state_get_item_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3", "stored_value": { "CLValue": { @@ -3916,7 +3916,7 @@ "result": { "name": "state_get_balance_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "balance_value": "123456", "merkle_proof": "01000000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625016ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a72536147614625000000003529cde5c621f857f75f3810611eb4af3f998caaa9d4a3413cf799f99c67db0307010000006ef2e0949ac76e55812421f755abe129b6244fe7168b77f47a7253614761462501010102000000006e06000000000074769d28aac597a36a03a932d4b43e4f10bf0403ee5c41dd035102553f5773631200b9e173e8f05361b681513c14e25e3138639eb03232581db7557c9e8dbbc83ce94500226a9a7fe4f2b7b88d5103a4fc7400f02bf89c860c9ccdd56951a2afe9be0e0267006d820fb5676eb2960e15722f7725f3f8f41030078f8b2e44bf0dc03f71b176d6e800dc5ae9805068c5be6da1a90b2528ee85db0609cc0fb4bd60bbd559f497a98b67f500e1e3e846592f4918234647fca39830b7e1e6ad6f5b7a99b39af823d82ba1873d000003000000010186ff500f287e9b53f823ae1582b1fa429dfede28015125fd233a31ca04d5012002015cc42669a55467a1fdf49750772bfc1aed59b9b085558eb81510e9b015a7c83b0301e3cf4a34b1db6bfa58808b686cb8fe21ebe0c1bcbcee522649d2b135fe510fe3" } @@ -3986,7 +3986,7 @@ "result": { "name": "chain_get_era_info_by_switch_block_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "era_summary": { "block_hash": "6b5db3585233ed0076910d3a81fa7d23fc4325f35e06d31f293043aef3f4c98d", "era_id": 42, @@ -4072,7 +4072,7 @@ "result": { "name": "state_get_auction_info_example_result", "value": { - "api_version": "1.4.7", + "api_version": "1.4.8", "auction_state": { "bids": [ { diff --git a/smart_contracts/contract_as/package-lock.json b/smart_contracts/contract_as/package-lock.json index f2048e952a..1174d7c88b 100644 --- a/smart_contracts/contract_as/package-lock.json +++ b/smart_contracts/contract_as/package-lock.json @@ -1,6 +1,6 @@ { "name": "casper-contract", - "version": "1.4.7", + "version": "1.4.8", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/smart_contracts/contract_as/package.json b/smart_contracts/contract_as/package.json index aa80b6b700..ebc1ba4304 100644 --- a/smart_contracts/contract_as/package.json +++ b/smart_contracts/contract_as/package.json @@ -1,6 +1,6 @@ { "name": "casper-contract", - "version": "1.4.7", + "version": "1.4.8", "description": "Library for developing Casper smart contracts.", "homepage": "https://docs.casperlabs.io/en/latest/dapp-dev-guide/index.html", "repository": {