From a324ec238900becbfea78abf9e78852072576a4e Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 20 Nov 2023 11:23:56 +0800 Subject: [PATCH] Release `v6.5.0-1` (#1324) * Release `v6.5.0-1` * Fix compile --- Cargo.lock | 48 ++++++++++++------------ Cargo.toml | 4 +- pallet/ecdsa-authority/src/test_utils.rs | 2 +- runtime/crab/src/lib.rs | 2 +- runtime/darwinia/src/lib.rs | 2 +- runtime/pangolin/src/lib.rs | 2 +- runtime/pangoro/src/lib.rs | 2 +- 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 38adaf129..592c9b234 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -486,9 +486,9 @@ dependencies = [ [[package]] name = "array-bytes" -version = "6.1.0" +version = "6.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b1c5a481ec30a5abd8dfbd94ab5cf1bb4e9a66be7f1b3b322f2f1170c200fd" +checksum = "de17a919934ad8c5cc99a1a74de4e2dab95d6121a8f27f94755ff525b630382c" [[package]] name = "arrayref" @@ -1801,7 +1801,7 @@ dependencies = [ [[package]] name = "crab-runtime" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "bp-darwinia-core", @@ -2842,7 +2842,7 @@ dependencies = [ [[package]] name = "darwinia" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "async-trait", @@ -2921,7 +2921,7 @@ dependencies = [ [[package]] name = "darwinia-account-migration" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "darwinia-deposit", @@ -2946,7 +2946,7 @@ dependencies = [ [[package]] name = "darwinia-asset-limit" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "frame-support", "frame-system", @@ -2957,7 +2957,7 @@ dependencies = [ [[package]] name = "darwinia-common-runtime" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "bp-darwinia-core", "darwinia-precompile-assets", @@ -2985,7 +2985,7 @@ dependencies = [ [[package]] name = "darwinia-deposit" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "darwinia-staking-traits", "dc-inflation", @@ -3006,7 +3006,7 @@ dependencies = [ [[package]] name = "darwinia-ecdsa-authority" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "dc-primitives", @@ -3026,7 +3026,7 @@ dependencies = [ [[package]] name = "darwinia-message-gadget" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "frame-support", @@ -3045,7 +3045,7 @@ dependencies = [ [[package]] name = "darwinia-message-transact" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "bp-message-dispatch", @@ -3074,7 +3074,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-assets" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "fp-evm", "frame-support", @@ -3095,7 +3095,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-bls12-381" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "ark-bls12-381", "ark-ec", @@ -3113,7 +3113,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-deposit" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "darwinia-deposit", "fp-evm", @@ -3133,7 +3133,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-staking" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "darwinia-deposit", "darwinia-staking", @@ -3154,7 +3154,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-state-storage" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "fp-evm", "frame-support", @@ -3173,7 +3173,7 @@ dependencies = [ [[package]] name = "darwinia-runtime" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "bp-darwinia-core", @@ -3285,7 +3285,7 @@ dependencies = [ [[package]] name = "darwinia-staking" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "darwinia-deposit", "darwinia-staking-traits", @@ -3313,7 +3313,7 @@ dependencies = [ [[package]] name = "darwinia-staking-traits" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "parity-scale-codec", "scale-info", @@ -3348,7 +3348,7 @@ dependencies = [ [[package]] name = "dc-inflation" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "dc-types", "primitive-types", @@ -3358,7 +3358,7 @@ dependencies = [ [[package]] name = "dc-primitives" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "dc-types", "fp-account", @@ -3368,7 +3368,7 @@ dependencies = [ [[package]] name = "dc-types" -version = "6.5.0" +version = "6.5.0-1" [[package]] name = "der" @@ -9250,7 +9250,7 @@ dependencies = [ [[package]] name = "pangolin-runtime" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "bp-darwinia-core", @@ -9364,7 +9364,7 @@ dependencies = [ [[package]] name = "pangoro-runtime" -version = "6.5.0" +version = "6.5.0-1" dependencies = [ "array-bytes", "bp-darwinia-core", diff --git a/Cargo.toml b/Cargo.toml index 95a8a2e35..5c4f9281e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,11 +17,11 @@ edition = "2021" homepage = "https://darwinia.network" license = "GPL-3.0" repository = "https://github.com/darwinia-network/darwinia" -version = "6.5.0" +version = "6.5.0-1" [workspace.dependencies] # crates.io -array-bytes = { version = "6.1" } +array-bytes = { version = "6.2" } codec = { package = "parity-scale-codec", version = "3.6", default-features = false } libsecp256k1 = { version = "0.7", default-features = false } log = { version = "0.4" } diff --git a/pallet/ecdsa-authority/src/test_utils.rs b/pallet/ecdsa-authority/src/test_utils.rs index 6f74a2cec..0d5012380 100644 --- a/pallet/ecdsa-authority/src/test_utils.rs +++ b/pallet/ecdsa-authority/src/test_utils.rs @@ -23,7 +23,7 @@ pub(crate) fn gen_pair(byte: u8) -> (SecretKey, AccountId) { let seed = iter::repeat(byte).take(32).collect::>(); let secret_key = SecretKey::parse_slice(&seed).unwrap(); let public_key = PublicKey::from_secret_key(&secret_key).serialize(); - let address = array_bytes::slice_n_into_unchecked::<20, _, _>( + let address = array_bytes::slice_n_into_unchecked::<_, _, 20>( &hashing::keccak_256(&public_key[1..65])[12..], ); diff --git a/runtime/crab/src/lib.rs b/runtime/crab/src/lib.rs index a625bc087..c193331ea 100644 --- a/runtime/crab/src/lib.rs +++ b/runtime/crab/src/lib.rs @@ -82,7 +82,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Crab2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_0_0, + spec_version: 6_5_0_1, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, diff --git a/runtime/darwinia/src/lib.rs b/runtime/darwinia/src/lib.rs index 0f79bd4bf..3be194ccf 100644 --- a/runtime/darwinia/src/lib.rs +++ b/runtime/darwinia/src/lib.rs @@ -82,7 +82,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Darwinia2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_0_0, + spec_version: 6_5_0_1, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, diff --git a/runtime/pangolin/src/lib.rs b/runtime/pangolin/src/lib.rs index 7ebf73a45..cb26f51ac 100644 --- a/runtime/pangolin/src/lib.rs +++ b/runtime/pangolin/src/lib.rs @@ -83,7 +83,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Pangolin2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_0_0, + spec_version: 6_5_0_1, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, diff --git a/runtime/pangoro/src/lib.rs b/runtime/pangoro/src/lib.rs index 3312d40ba..5e06c222c 100644 --- a/runtime/pangoro/src/lib.rs +++ b/runtime/pangoro/src/lib.rs @@ -82,7 +82,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Pangoro2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_0_0, + spec_version: 6_5_0_1, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0,