From 9c59f77590250111dd0042e1be29886034a37aea Mon Sep 17 00:00:00 2001 From: Henrique Nogara Date: Mon, 2 Dec 2024 11:32:02 -0300 Subject: [PATCH 1/6] Add disable_fee feature flag; Remove old polymesh-extension --- Cargo.lock | 95 +++++++++++---------------- Cargo.toml | 4 +- runtime/common/src/lib.rs | 9 ++- runtime/common/src/runtime.rs | 5 +- runtime/develop/Cargo.toml | 4 +- runtime/develop/src/runtime.rs | 2 +- runtime/production/Cargo.toml | 3 +- runtime/production/src/runtime.rs | 2 +- runtime/tests/Cargo.toml | 4 +- runtime/tests/src/test_runtime/mod.rs | 2 +- 10 files changed, 55 insertions(+), 75 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 550bcf1..600e3f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2871,7 +2871,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.13", - "socket2 0.5.5", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -4368,7 +4368,7 @@ dependencies = [ [[package]] name = "node-rpc" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4394,7 +4394,7 @@ dependencies = [ [[package]] name = "node-rpc-runtime-api" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4593,7 +4593,7 @@ dependencies = [ [[package]] name = "pallet-asset" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "arrayvec 0.7.4", "frame-benchmarking", @@ -4685,7 +4685,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4725,7 +4725,7 @@ dependencies = [ [[package]] name = "pallet-base" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4745,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-committee" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4770,7 +4770,7 @@ dependencies = [ [[package]] name = "pallet-compliance-manager" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "either", "frame-benchmarking", @@ -4880,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-corporate-actions" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4949,7 +4949,7 @@ dependencies = [ [[package]] name = "pallet-external-agents" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4995,7 +4995,7 @@ dependencies = [ [[package]] name = "pallet-group" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5019,7 +5019,7 @@ dependencies = [ [[package]] name = "pallet-group-rpc" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5040,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-group-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "parity-scale-codec", "polymesh-common-utilities", @@ -5053,7 +5053,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "either", "frame-benchmarking", @@ -5135,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5158,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-nft" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-permissions" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-pips" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5249,7 +5249,7 @@ dependencies = [ [[package]] name = "pallet-portfolio" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5289,7 +5289,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5309,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee-rpc" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5330,7 +5330,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee-rpc-runtime-api" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "parity-scale-codec", "polymesh-common-utilities", @@ -5342,7 +5342,7 @@ dependencies = [ [[package]] name = "pallet-relayer" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5397,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-settlement" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5433,7 +5433,7 @@ dependencies = [ [[package]] name = "pallet-statistics" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5459,7 +5459,7 @@ dependencies = [ [[package]] name = "pallet-sto" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5493,7 +5493,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5508,7 +5508,7 @@ dependencies = [ [[package]] name = "pallet-test-utils" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5545,7 +5545,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5564,7 +5564,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5589,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5928,7 +5928,7 @@ dependencies = [ [[package]] name = "polymesh-build-tool" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "substrate-wasm-builder", ] @@ -5936,7 +5936,7 @@ dependencies = [ [[package]] name = "polymesh-common-utilities" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5960,7 +5960,7 @@ dependencies = [ [[package]] name = "polymesh-contracts" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5983,23 +5983,6 @@ dependencies = [ "wasm-instrument 0.3.0", ] -[[package]] -name = "polymesh-extensions" -version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" -dependencies = [ - "frame-support", - "frame-system", - "pallet-permissions", - "pallet-transaction-payment", - "parity-scale-codec", - "polymesh-common-utilities", - "polymesh-primitives", - "scale-info", - "sp-runtime", - "sp-std", -] - [[package]] name = "polymesh-host-functions" version = "0.1.0" @@ -6021,7 +6004,7 @@ dependencies = [ [[package]] name = "polymesh-primitives" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "chrono", "either", @@ -6050,7 +6033,7 @@ dependencies = [ [[package]] name = "polymesh-primitives-derive" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "proc-macro2", "quote", @@ -6108,7 +6091,6 @@ dependencies = [ "parity-scale-codec", "polymesh-common-utilities", "polymesh-contracts", - "polymesh-extensions", "polymesh-host-functions", "polymesh-primitives", "polymesh-private-runtime-develop", @@ -6224,7 +6206,6 @@ dependencies = [ "polymesh-build-tool", "polymesh-common-utilities", "polymesh-contracts", - "polymesh-extensions", "polymesh-primitives", "polymesh-runtime-common 1.0.0", "polymesh-weights", @@ -6301,7 +6282,6 @@ dependencies = [ "polymesh-build-tool", "polymesh-common-utilities", "polymesh-contracts", - "polymesh-extensions", "polymesh-primitives", "polymesh-runtime-common 1.0.0", "polymesh-weights", @@ -6379,7 +6359,6 @@ dependencies = [ "parity-scale-codec", "polymesh-common-utilities", "polymesh-contracts", - "polymesh-extensions", "polymesh-primitives", "polymesh-runtime-common 1.0.0", "polymesh-weights", @@ -6433,7 +6412,7 @@ dependencies = [ [[package]] name = "polymesh-runtime-common" version = "1.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#b6c926c9da1d907e01e3bb8887c2127fe97bed8c" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-election-provider-support", "frame-support", diff --git a/Cargo.toml b/Cargo.toml index 2015077..a5b3d5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -144,7 +144,7 @@ pallet-sto = { git = "https://github.com/PolymeshAssociation/Polymesh.git", bran pallet-settlement = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } pallet-statistics = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } pallet-test-utils = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false, features = ["disable_fees"]} pallet-treasury = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } pallet-utility = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } pallet-sudo = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } @@ -155,7 +155,6 @@ polymesh-common-utilities = { git = "https://github.com/PolymeshAssociation/Poly polymesh-runtime-common = { path = "runtime/common/", default-features = false } polymesh-primitives = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } polymesh-weights = { path = "pallets/weights/", default-features = false } -polymesh-extensions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } # RPC node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } @@ -256,7 +255,6 @@ polymesh-common-utilities = { workspace = true, default-features = false } polymesh-runtime-common = { workspace = true, default-features = false } polymesh-primitives = { workspace = true, default-features = false } polymesh-weights = { workspace = true, default-features = false } -polymesh-extensions = { workspace = true, default-features = false } # PoA validator-set = { workspace = true, default-features = false } diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 4b23044..da8a118 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -28,7 +28,7 @@ pub use sp_runtime::{Perbill, Permill}; pub use frame_support::{ dispatch::{DispatchClass, GetDispatchInfo, Weight}, parameter_types, - traits::Currency, + traits::{Currency, Get}, weights::{ constants::{ WEIGHT_REF_TIME_PER_MICROS, WEIGHT_REF_TIME_PER_MILLIS, WEIGHT_REF_TIME_PER_NANOS, @@ -139,6 +139,7 @@ parameter_types! { /// Converts Weight to Fee pub struct WeightToFee; + impl WeightToFeePolynomial for WeightToFee { type Balance = Balance; /// We want a 0.03 POLYX fee per ExtrinsicBaseWeight. @@ -158,6 +159,12 @@ impl WeightToFeePolynomial for WeightToFee { } } +impl Get>> for WeightToFee { + fn get() -> Vec> { + Self::polynomial().to_vec() + } +} + use pallet_group_rpc_runtime_api::Member; use polymesh_common_utilities::traits::group::InactiveMember; use sp_std::{convert::From, prelude::*}; diff --git a/runtime/common/src/runtime.rs b/runtime/common/src/runtime.rs index 97ee6ef..967c11f 100644 --- a/runtime/common/src/runtime.rs +++ b/runtime/common/src/runtime.rs @@ -174,6 +174,7 @@ macro_rules! misc_pallet_impls { type GovernanceCommittee = PolymeshCommittee; type CddProviders = CddServiceProviders; type Identity = Identity; + type WeightToFeeConst = polymesh_runtime_common::WeightToFee; } impl polymesh_common_utilities::traits::CommonConfig for Runtime { @@ -547,7 +548,7 @@ macro_rules! misc_pallet_impls { frame_system::CheckGenesis::new(), frame_system::CheckEra::from(generic::Era::mortal(period, current_block)), frame_system::CheckNonce::from(nonce), - polymesh_extensions::CheckWeight::new(), + frame_system::CheckWeight::new(), pallet_transaction_payment::ChargeTransactionPayment::from(tip), pallet_permissions::StoreCallMetadata::new(), ); @@ -623,7 +624,7 @@ macro_rules! runtime_apis { frame_system::CheckGenesis, frame_system::CheckEra, frame_system::CheckNonce, - polymesh_extensions::CheckWeight, + frame_system::CheckWeight, pallet_transaction_payment::ChargeTransactionPayment, pallet_permissions::StoreCallMetadata, ); diff --git a/runtime/develop/Cargo.toml b/runtime/develop/Cargo.toml index 8f5c534..26d3b35 100644 --- a/runtime/develop/Cargo.toml +++ b/runtime/develop/Cargo.toml @@ -11,7 +11,6 @@ polymesh-common-utilities = { workspace = true, default-features = false } polymesh-runtime-common = { workspace = true, default-features = false } polymesh-primitives = { workspace = true, default-features = false } polymesh-weights = { workspace = true, default-features = false } -polymesh-extensions = { workspace = true, default-features = false } # Our pallets pallet-asset = { workspace = true, default-features = false } @@ -35,7 +34,7 @@ pallet-sto = { workspace = true, default-features = false } pallet-settlement = { workspace = true, default-features = false } pallet-statistics = { workspace = true, default-features = false } pallet-test-utils = { workspace = true, default-features = false } -pallet-transaction-payment = { workspace = true, default-features = false } +pallet-transaction-payment = { workspace = true, default-features = false, features = ["disable_fees"] } pallet-treasury = { workspace = true, default-features = false } pallet-utility = { workspace = true, default-features = false } pallet-sudo = { workspace = true, default-features = false } @@ -183,7 +182,6 @@ std = [ "sp-transaction-pool/std", "sp-version/std", "polymesh-contracts/std", - "polymesh-extensions/std", ] runtime-benchmarks = [ "getrandom/js", diff --git a/runtime/develop/src/runtime.rs b/runtime/develop/src/runtime.rs index a99b440..006c4a7 100644 --- a/runtime/develop/src/runtime.rs +++ b/runtime/develop/src/runtime.rs @@ -394,7 +394,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, // TransactionPayment: Genesis config dependencies: Balance. - TransactionPayment: pallet_transaction_payment::{Pallet, Event, Storage}, + TransactionPayment: pallet_transaction_payment::{Pallet, Call, Event, Storage}, // Identity: Genesis config deps: Timestamp. Identity: pallet_identity::{Pallet, Call, Storage, Event, Config}, diff --git a/runtime/production/Cargo.toml b/runtime/production/Cargo.toml index 3ef689d..74feaaa 100644 --- a/runtime/production/Cargo.toml +++ b/runtime/production/Cargo.toml @@ -8,7 +8,6 @@ build = "build.rs" [dependencies] # Common polymesh-common-utilities = { workspace = true, default-features = false } -polymesh-extensions = { workspace = true, default-features = false } polymesh-primitives = { workspace = true, default-features = false } polymesh-runtime-common = { workspace = true, default-features = false} polymesh-weights = { workspace = true, default-features = false } @@ -36,7 +35,7 @@ pallet-settlement = { workspace = true, default-features = false } pallet-statistics = { workspace = true, default-features = false } pallet-sto = { workspace = true, default-features = false } pallet-sudo = { workspace = true, default-features = false } -pallet-transaction-payment = { workspace = true, default-features = false } +pallet-transaction-payment = { workspace = true, default-features = false, features = ["disable_fees"] } pallet-treasury = { workspace = true, default-features = false } pallet-utility = { workspace = true, default-features = false } polymesh-contracts = { workspace = true, default-features = false } diff --git a/runtime/production/src/runtime.rs b/runtime/production/src/runtime.rs index 6de2c5d..f605cd2 100644 --- a/runtime/production/src/runtime.rs +++ b/runtime/production/src/runtime.rs @@ -308,7 +308,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, // TransactionPayment: Genesis config dependencies: Balance. - TransactionPayment: pallet_transaction_payment::{Pallet, Event, Storage}, + TransactionPayment: pallet_transaction_payment::{Pallet, Call, Event, Storage}, // Identity: Genesis config deps: Timestamp. Identity: pallet_identity::{Pallet, Call, Storage, Event, Config}, diff --git a/runtime/tests/Cargo.toml b/runtime/tests/Cargo.toml index 89a6ee6..842bbf9 100644 --- a/runtime/tests/Cargo.toml +++ b/runtime/tests/Cargo.toml @@ -10,7 +10,6 @@ polymesh-common-utilities = { workspace = true, default-features = false } polymesh-runtime-common = { workspace = true, default-features = false } polymesh-primitives = { workspace = true, default-features = false } polymesh-weights = { workspace = true, default-features = false } -polymesh-extensions = { workspace = true, default-features = false } # Our pallets pallet-asset = { workspace = true, default-features = false } @@ -33,7 +32,7 @@ pallet-sto = { workspace = true, default-features = false } pallet-settlement = { workspace = true, default-features = false } pallet-statistics = { workspace = true, default-features = false } pallet-test-utils = { workspace = true, default-features = false } -pallet-transaction-payment = { workspace = true, default-features = false } +pallet-transaction-payment = { workspace = true, default-features = false, features = ["disable_fees"] } pallet-treasury = { workspace = true, default-features = false } pallet-utility = { workspace = true, default-features = false } pallet-sudo = { workspace = true, default-features = false } @@ -171,7 +170,6 @@ std = [ "sp-transaction-pool/std", "sp-version/std", "polymesh-contracts/std", - "polymesh-extensions/std", ] runtime-benchmarks = [ diff --git a/runtime/tests/src/test_runtime/mod.rs b/runtime/tests/src/test_runtime/mod.rs index 5ddaa9f..e9513a6 100644 --- a/runtime/tests/src/test_runtime/mod.rs +++ b/runtime/tests/src/test_runtime/mod.rs @@ -146,7 +146,7 @@ frame_support::construct_runtime!( Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2, Indices: pallet_indices::{Pallet, Call, Storage, Config, Event} = 3, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 5, - TransactionPayment: pallet_transaction_payment::{Pallet, Event, Storage} = 6, + TransactionPayment: pallet_transaction_payment::{Pallet, Call, Event, Storage} = 6, Identity: pallet_identity::{Pallet, Call, Storage, Event, Config} = 7, CddServiceProviders: pallet_group::::{Pallet, Call, Storage, Event, Config} = 8, PolymeshCommittee: pallet_committee::::{Pallet, Call, Storage, Origin, Event, Config} = 9, From 8f330beb91e43b67ed47913fc66f4f4d9e3d64c7 Mon Sep 17 00:00:00 2001 From: Henrique Nogara Date: Thu, 5 Dec 2024 18:42:37 -0300 Subject: [PATCH 2/6] Update toml files --- Cargo.lock | 470 +++++++++++++------------------------ Cargo.toml | 376 ++++++++++++++--------------- runtime/develop/Cargo.toml | 4 +- 3 files changed, 358 insertions(+), 492 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 600e3f5..6e5a36c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -516,26 +516,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bindgen" -version = "0.64.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" -dependencies = [ - "bitflags 1.3.2", - "cexpr", - "clang-sys", - "lazy_static", - "lazycell", - "peeking_take_while", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex", - "syn 1.0.109", -] - [[package]] name = "bitflags" version = "1.3.2" @@ -752,17 +732,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - [[package]] name = "camino" version = "1.1.6" @@ -816,15 +785,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - [[package]] name = "cfg-expr" version = "0.10.3" @@ -924,17 +884,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "clang-sys" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" -dependencies = [ - "glob", - "libc", - "libloading", -] - [[package]] name = "clap" version = "4.4.14" @@ -2062,7 +2011,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", ] @@ -2085,7 +2034,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-support-procedural", @@ -2110,7 +2059,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "Inflector", "array-bytes", @@ -2157,7 +2106,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -2168,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2185,7 +2134,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -2213,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bitflags 1.3.2", "environmental", @@ -2246,7 +2195,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "Inflector", "cfg-expr", @@ -2261,7 +2210,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -2273,7 +2222,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -2283,7 +2232,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "log", @@ -2301,7 +2250,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2316,7 +2265,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2574,12 +2523,6 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - [[package]] name = "globset" version = "0.4.14" @@ -2871,7 +2814,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.13", - "socket2 0.4.10", + "socket2 0.5.5", "tokio", "tower-service", "tracing", @@ -3281,48 +3224,18 @@ dependencies = [ "parking_lot 0.12.1", ] -[[package]] -name = "kvdb-rocksdb" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" -dependencies = [ - "kvdb", - "num_cpus", - "parking_lot 0.12.1", - "regex", - "rocksdb", - "smallvec", -] - [[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - [[package]] name = "libc" version = "0.2.152" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" -[[package]] -name = "libloading" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - [[package]] name = "libm" version = "0.2.8" @@ -3793,21 +3706,6 @@ dependencies = [ "redox_syscall 0.4.1", ] -[[package]] -name = "librocksdb-sys" -version = "0.8.3+7.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "557b255ff04123fcc176162f56ed0c9cd42d8f357cf55b3fabeb60f7413741b3" -dependencies = [ - "bindgen", - "bzip2-sys", - "cc", - "glob", - "libc", - "libz-sys", - "tikv-jemalloc-sys", -] - [[package]] name = "libsecp256k1" version = "0.7.1" @@ -4368,7 +4266,7 @@ dependencies = [ [[package]] name = "node-rpc" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4394,7 +4292,7 @@ dependencies = [ [[package]] name = "node-rpc-runtime-api" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4593,7 +4491,7 @@ dependencies = [ [[package]] name = "pallet-asset" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "arrayvec 0.7.4", "frame-benchmarking", @@ -4613,7 +4511,7 @@ dependencies = [ "polymesh-common-utilities", "polymesh-primitives", "polymesh-primitives-derive", - "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop)", + "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool)", "rustc-hex", "scale-info", "serde", @@ -4631,7 +4529,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -4647,7 +4545,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -4661,7 +4559,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4685,7 +4583,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4710,7 +4608,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4725,7 +4623,7 @@ dependencies = [ [[package]] name = "pallet-base" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4745,7 +4643,7 @@ dependencies = [ [[package]] name = "pallet-committee" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4770,7 +4668,7 @@ dependencies = [ [[package]] name = "pallet-compliance-manager" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "either", "frame-benchmarking", @@ -4828,7 +4726,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -4857,7 +4755,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -4870,7 +4768,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -4880,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-corporate-actions" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4913,7 +4811,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4936,7 +4834,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4949,7 +4847,7 @@ dependencies = [ [[package]] name = "pallet-external-agents" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4972,7 +4870,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4995,7 +4893,7 @@ dependencies = [ [[package]] name = "pallet-group" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5019,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-group-rpc" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5040,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-group-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "parity-scale-codec", "polymesh-common-utilities", @@ -5053,7 +4951,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "either", "frame-benchmarking", @@ -5084,7 +4982,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5104,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5121,7 +5019,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -5135,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5158,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-nft" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5180,7 +5078,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -5197,7 +5095,7 @@ dependencies = [ [[package]] name = "pallet-permissions" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5112,7 @@ dependencies = [ [[package]] name = "pallet-pips" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5232,7 +5130,7 @@ dependencies = [ "polymesh-common-utilities", "polymesh-primitives", "polymesh-primitives-derive", - "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop)", + "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool)", "rand 0.8.5", "rand_chacha 0.3.1", "scale-info", @@ -5249,7 +5147,7 @@ dependencies = [ [[package]] name = "pallet-portfolio" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5272,7 +5170,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5289,7 +5187,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5309,7 +5207,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee-rpc" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5330,7 +5228,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee-rpc-runtime-api" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "parity-scale-codec", "polymesh-common-utilities", @@ -5342,7 +5240,7 @@ dependencies = [ [[package]] name = "pallet-relayer" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5359,7 +5257,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5376,7 +5274,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -5397,7 +5295,7 @@ dependencies = [ [[package]] name = "pallet-settlement" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5433,7 +5331,7 @@ dependencies = [ [[package]] name = "pallet-statistics" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5459,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-sto" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5493,7 +5391,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5508,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-test-utils" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5527,7 +5425,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5545,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5564,7 +5462,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5589,7 +5487,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5745,12 +5643,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "pem" version = "1.1.1" @@ -5928,7 +5820,7 @@ dependencies = [ [[package]] name = "polymesh-build-tool" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "substrate-wasm-builder", ] @@ -5936,7 +5828,7 @@ dependencies = [ [[package]] name = "polymesh-common-utilities" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5960,7 +5852,7 @@ dependencies = [ [[package]] name = "polymesh-contracts" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -6004,7 +5896,7 @@ dependencies = [ [[package]] name = "polymesh-primitives" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "chrono", "either", @@ -6033,7 +5925,7 @@ dependencies = [ [[package]] name = "polymesh-primitives-derive" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "proc-macro2", "quote", @@ -6412,7 +6304,7 @@ dependencies = [ [[package]] name = "polymesh-runtime-common" version = "1.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-election-provider-support", "frame-support", @@ -7093,16 +6985,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "rocksdb" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" -dependencies = [ - "libc", - "librocksdb-sys", -] - [[package]] name = "rpassword" version = "7.3.1" @@ -7335,7 +7217,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "sp-core", @@ -7346,7 +7228,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -7373,7 +7255,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "futures-timer", @@ -7396,7 +7278,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7411,7 +7293,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -7430,7 +7312,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -7441,7 +7323,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "chrono", @@ -7481,7 +7363,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "fnv", "futures", @@ -7507,12 +7389,11 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hash-db", "kvdb", "kvdb-memorydb", - "kvdb-rocksdb", "linked-hash-map", "log", "parity-db", @@ -7533,7 +7414,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -7558,7 +7439,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "fork-tree", @@ -7597,7 +7478,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "jsonrpsee", @@ -7619,7 +7500,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7632,7 +7513,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ahash 0.8.11", "array-bytes", @@ -7672,7 +7553,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "finality-grandpa", "futures", @@ -7692,7 +7573,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -7715,7 +7596,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "lru", "parity-scale-codec", @@ -7739,7 +7620,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -7752,7 +7633,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "sc-allocator", @@ -7765,7 +7646,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "anyhow", "cfg-if", @@ -7783,7 +7664,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ansi_term", "futures", @@ -7798,7 +7679,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "async-trait", @@ -7813,7 +7694,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "async-trait", @@ -7856,7 +7737,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "cid", "futures", @@ -7875,7 +7756,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -7901,7 +7782,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ahash 0.8.11", "futures", @@ -7919,7 +7800,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "futures", @@ -7940,7 +7821,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "async-trait", @@ -7972,7 +7853,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "futures", @@ -7991,7 +7872,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "bytes", @@ -8021,7 +7902,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "libp2p", @@ -8034,7 +7915,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8043,7 +7924,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "jsonrpsee", @@ -8073,7 +7954,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8092,7 +7973,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "http", "jsonrpsee", @@ -8107,7 +7988,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "futures", @@ -8133,7 +8014,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "directories", @@ -8199,7 +8080,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "parity-scale-codec", @@ -8210,7 +8091,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "clap", "fs4", @@ -8226,7 +8107,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8245,7 +8126,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "libc", @@ -8264,7 +8145,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "chrono", "futures", @@ -8283,7 +8164,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ansi_term", "atty", @@ -8314,7 +8195,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -8325,7 +8206,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -8352,7 +8233,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -8366,7 +8247,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "backtrace", "futures", @@ -8720,12 +8601,6 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "shlex" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" - [[package]] name = "signal-hook-registry" version = "1.4.1" @@ -8857,7 +8732,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hash-db", "log", @@ -8875,7 +8750,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "blake2", "proc-macro-crate 1.1.3", @@ -8887,7 +8762,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -8900,7 +8775,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "integer-sqrt", "num-traits", @@ -8914,7 +8789,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -8927,7 +8802,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sp-api", @@ -8939,7 +8814,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "log", @@ -8957,7 +8832,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -8975,7 +8850,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "merlin 2.0.1", @@ -8998,7 +8873,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "finality-grandpa", "log", @@ -9016,7 +8891,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9028,7 +8903,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9041,7 +8916,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "base58", @@ -9084,7 +8959,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "blake2", "byteorder", @@ -9098,7 +8973,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -9109,7 +8984,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9118,7 +8993,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -9128,7 +9003,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "environmental", "parity-scale-codec", @@ -9139,7 +9014,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9154,7 +9029,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bytes", "ed25519 1.5.3", @@ -9179,7 +9054,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "lazy_static", "sp-core", @@ -9190,7 +9065,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -9207,7 +9082,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "thiserror", "zstd", @@ -9216,7 +9091,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9230,7 +9105,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "sp-api", "sp-core", @@ -9240,7 +9115,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "backtrace", "lazy_static", @@ -9250,7 +9125,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "rustc-hash", "serde", @@ -9260,7 +9135,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "either", "hash256-std-hasher", @@ -9282,7 +9157,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9300,7 +9175,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -9312,7 +9187,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9326,7 +9201,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9338,7 +9213,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hash-db", "log", @@ -9358,12 +9233,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9376,7 +9251,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures-timer", @@ -9391,7 +9266,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sp-std", @@ -9403,7 +9278,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "sp-api", "sp-runtime", @@ -9412,7 +9287,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "log", @@ -9428,7 +9303,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ahash 0.8.11", "hash-db", @@ -9451,7 +9326,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9468,7 +9343,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -9479,7 +9354,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9493,7 +9368,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9655,7 +9530,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "platforms", ] @@ -9663,7 +9538,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -9682,7 +9557,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hyper", "log", @@ -9694,7 +9569,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "jsonrpsee", "log", @@ -9713,7 +9588,7 @@ dependencies = [ [[package]] name = "substrate-validator-set" version = "0.9.42" -source = "git+https://github.com/PolymeshAssociation/substrate-validator-set?branch=polymesh-v6-monthly-2023-03#b6badb3e9cdc79ddc0a272a8dcbf800a38ade243" +source = "git+https://github.com/PolymeshAssociation/substrate-validator-set?branch=cli-tool#5e174db3eae3314e9ea576c4700ea1952cdb1f30" dependencies = [ "frame-benchmarking", "frame-support", @@ -9727,12 +9602,13 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-std", + "substrate-bip39", ] [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ansi_term", "build-helper", @@ -9901,16 +9777,6 @@ dependencies = [ "num_cpus", ] -[[package]] -name = "tikv-jemalloc-sys" -version = "0.5.4+5.3.0-patched" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" -dependencies = [ - "cc", - "libc", -] - [[package]] name = "time" version = "0.3.31" diff --git a/Cargo.toml b/Cargo.toml index a5b3d5a..c0d495a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,100 +11,100 @@ path = "src/main.rs" [patch.crates-io] # Path build to use our Substrate version from github. -frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -frame-benchmarking-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -frame-executive = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -frame-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -frame-election-provider-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -frame-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -frame-system-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -frame-system-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-balances = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-contracts = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-contracts-primitives = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-election-provider-multi-phase = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-im-online = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-indices = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-offences = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-preimage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-scheduler = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -pallet-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-basic-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-chain-spec = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-client-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-client-db = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-consensus-babe-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-consensus-epochs = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-executor = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-consensus-grandpa-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-network = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-network-common = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-rpc-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-rpc-spec-v2 = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-service = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-telemetry = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-transaction-pool-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sc-sync-state-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-application-crypto = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-arithmetic = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-blockchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-core = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-externalities = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-inherents = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-io = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-keyring = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-npos-elections = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-offchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-runtime = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-weights = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-runtime-interface = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-state-machine = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-std = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-storage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-tracing = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-transaction-storage-proof = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-trie = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -sp-version = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -substrate-frame-rpc-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -substrate-state-trie-migration-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -substrate-prometheus-endpoint = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -substrate-build-script-utils = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } -substrate-wasm-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-benchmarking-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-executive = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-election-provider-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-system-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-system-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-balances = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-contracts = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-contracts-primitives = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-election-provider-multi-phase = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-im-online = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-indices = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-offences = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-preimage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-scheduler = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +pallet-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-basic-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-chain-spec = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-client-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-client-db = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-consensus-babe-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-consensus-epochs = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-executor = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-consensus-grandpa-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-network = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-network-common = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-rpc-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-rpc-spec-v2 = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-service = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-telemetry = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-transaction-pool-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sc-sync-state-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-application-crypto = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-arithmetic = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-blockchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-core = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-externalities = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-inherents = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-io = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-keyring = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-npos-elections = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-offchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-runtime = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-weights = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-runtime-interface = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-state-machine = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-std = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-storage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-tracing = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-transaction-storage-proof = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-trie = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +sp-version = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +substrate-frame-rpc-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +substrate-state-trie-migration-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +substrate-prometheus-endpoint = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +substrate-build-script-utils = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +substrate-wasm-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } bulletproofs = { version = "5.0.0", git = "https://github.com/PolymeshAssociation/bulletproofs", branch = "v5.0.0" } #bulletproofs = { path = "../bulletproofs/" } confidential_assets = { git = "https://github.com/PolymeshAssociation/confidential_assets", branch = "main" } #confidential_assets = { path = "../confidential_assets" } -substrate-validator-set = { git = "https://github.com/PolymeshAssociation/substrate-validator-set", branch = "polymesh-v6-monthly-2023-03" } +substrate-validator-set = { git = "https://github.com/PolymeshAssociation/substrate-validator-set", branch = "cli-tool" } [workspace] members = [ @@ -122,94 +122,94 @@ exclude = [ ## Keep common dependencies here. [workspace.dependencies] # Our pallets -pallet-asset = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-balances = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-base = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-committee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-compliance-manager = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-asset = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-balances = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-base = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-committee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-compliance-manager = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } pallet-confidential-asset = { path = "pallets/confidential-asset/", default-features = false } polymesh-host-functions = { path = "host-functions/", default-features = false } -pallet-corporate-actions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-external-agents = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-group = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-identity = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-multisig = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-nft = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-permissions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-pips = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-portfolio = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-protocol-fee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-relayer = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-sto = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-settlement = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-statistics = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-test-utils = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false, features = ["disable_fees"]} -pallet-treasury = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-utility = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-sudo = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -polymesh-contracts = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-corporate-actions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-external-agents = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-group = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-identity = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-multisig = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-nft = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-permissions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-pips = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-portfolio = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-protocol-fee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-relayer = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-sto = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-settlement = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-statistics = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-test-utils = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false, features = ["disable_fees"]} +pallet-treasury = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-utility = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-sudo = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +polymesh-contracts = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } # Common -polymesh-common-utilities = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +polymesh-common-utilities = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } polymesh-runtime-common = { path = "runtime/common/", default-features = false } -polymesh-primitives = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +polymesh-primitives = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } polymesh-weights = { path = "pallets/weights/", default-features = false } # RPC -node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -node-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-group-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-group-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-protocol-fee-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } -pallet-protocol-fee-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +node-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-group-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-group-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-protocol-fee-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-protocol-fee-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } # Build tool -polymesh-build-tool = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +polymesh-build-tool = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } -frame-support = { version = "4.0.0-dev", default-features = false } -frame-system = { version = "4.0.0-dev", default-features = false } -frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false } -pallet-authority-discovery = { version = "4.0.0-dev", default-features = false } -pallet-authorship = { version = "4.0.0-dev", default-features = false } -pallet-babe = { version = "4.0.0-dev", default-features = false } -pallet-contracts = { version = "4.0.0-dev", default-features = false } -pallet-contracts-primitives = { version = "7.0.0", default-features = false} +frame-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +frame-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-contracts = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-contracts-primitives = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } pallet-executive = { package = "frame-executive", version = "4.0.0-dev", default-features = false } -pallet-grandpa = { version = "4.0.0-dev", default-features = false } -pallet-im-online = { version = "4.0.0-dev", default-features = false } -pallet-indices = { version = "4.0.0-dev", default-features = false } -pallet-offences = { version = "4.0.0-dev", default-features = false } -pallet-preimage = { version = "4.0.0-dev", default-features = false } -pallet-insecure-randomness-collective-flip = { version = "4.0.0-dev", default-features = false } -pallet-scheduler = { version = "4.0.0-dev", default-features = false } -pallet-session = { version = "4.0.0-dev", default-features = false } -pallet-timestamp = { version = "4.0.0-dev", default-features = false } +pallet-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-im-online = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-indices = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-offences = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-preimage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-scheduler = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } scale-info = { version = "2.0", default-features = false, features = ["derive"] } -sp-api = { version = "4.0.0-dev", default-features = false } +sp-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } sp-arithmetic = { version = "6.0.0", default-features = false } -sp-authority-discovery = { version = "4.0.0-dev", default-features = false } -sp-block-builder = { version = "4.0.0-dev", default-features = false } -sp-blockchain = { version = "4.0.0-dev", default-features = false } -sp-consensus = { version = "0.10.0-dev", default-features = false } -sp-consensus-babe = { version = "0.10.0-dev", default-features = false } -sp-consensus-slots = { version = "0.10.0-dev", default-features = false } -sp-consensus-grandpa = { version = "4.0.0-dev", default-features = false } -sp-keyring = { version = "7.0.0", default-features = false } -sp-core = { version = "7.0.0", default-features = false } -sp-inherents = { version = "4.0.0-dev", default-features = false } -sp-transaction-storage-proof = { version = "4.0.0-dev", default-features = false } -sp-io = { version = "7.0.0", default-features = false } -sp-offchain = { version = "4.0.0-dev", default-features = false } -sp-runtime = { version = "7.0.0", default-features = false } -sp-runtime-interface = { version = "7.0.0", default-features = false } -sp-timestamp = { version = "4.0.0-dev", default-features = false } -sp-session = { version = "4.0.0-dev", default-features = false } -sp-std = { version = "5.0.0", default-features = false } -sp-transaction-pool = { version = "4.0.0-dev", default-features = false } -sp-version = { version = "5.0.0", default-features = false } +sp-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-blockchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-keyring = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-core = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-inherents = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-transaction-storage-proof = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-io = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-offchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-runtime = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-runtime-interface = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-std = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-version = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } # Crypto rand = { version = "0.8", default-features = false } @@ -281,31 +281,31 @@ clap = { version = "4.0.9", features = ["derive"] } rustc-hex = "2.1.0" # Substrate client deps. -sc-authority-discovery = "0.10.0-dev" -sc-basic-authorship = "0.10.0-dev" -sc-chain-spec = "4.0.0-dev" -sc-cli = { version = "0.10.0-dev" } -sc-client-api = "4.0.0-dev" -sc-consensus = "0.10.0-dev" -sc-consensus-babe = "0.10.0-dev" -sc-consensus-babe-rpc = "0.10.0-dev" -sc-consensus-epochs = { version = "0.10.0-dev" } -sc-consensus-slots = "0.10.0-dev" -sc-consensus-grandpa = "0.10.0-dev" -sc-consensus-grandpa-rpc = "0.10.0-dev" -sc-executor = { version = "0.10.0-dev" } -sc-network = "0.10.0-dev" -sc-network-common = { version = "0.10.0-dev" } -sc-rpc = "4.0.0-dev" -sc-rpc-api = "0.10.0-dev" -sc-rpc-spec-v2 = "0.10.0-dev" -sc-service = { version = "0.10.0-dev" } -sc-telemetry = "4.0.0-dev" -sc-transaction-pool = "4.0.0-dev" -sc-sync-state-rpc = { version = "0.10.0-dev" } -sc-transaction-pool-api = { version = "4.0.0-dev" } -substrate-frame-rpc-system = { version = "4.0.0-dev" } -substrate-state-trie-migration-rpc = { version = "4.0.0-dev" } +sc-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-basic-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-chain-spec = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-client-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-consensus-babe-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-consensus-epochs = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-consensus-grandpa-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-executor = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-network = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-network-common = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-rpc-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-rpc-spec-v2 = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-service = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-telemetry = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-sync-state-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +substrate-state-trie-migration-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } @@ -325,7 +325,7 @@ sp-consensus = { workspace = true } sp-consensus-babe = { workspace = true } sp-consensus-slots = { workspace = true } sp-keyring = { workspace = true } -sp-keystore = { version = "0.13.0" } +sp-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } sp-core = { workspace = true } sp-inherents = { workspace = true } sp-transaction-storage-proof = { workspace = true } @@ -336,8 +336,8 @@ sp-session = { workspace = true } sp-transaction-pool = { workspace = true } # These dependencies are used for runtime benchmarking -frame-benchmarking = "4.0.0-dev" -frame-benchmarking-cli = "4.0.0-dev" +frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } [build-dependencies] substrate-build-script-utils = { version = "3.0.0" } diff --git a/runtime/develop/Cargo.toml b/runtime/develop/Cargo.toml index 26d3b35..fd3a546 100644 --- a/runtime/develop/Cargo.toml +++ b/runtime/develop/Cargo.toml @@ -91,8 +91,8 @@ pallet-protocol-fee-rpc-runtime-api = { workspace = true, default-features = fal node-rpc-runtime-api = { workspace = true, default-features = false } # Used for runtime benchmarking -frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true } -frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false, optional = true } +frame-system-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false, optional = true } hex-literal = { version = "0.3.1", optional = true } # Import 'getrandom' here to enable feature `getrandom/js` for wasm builds. From 8b86166164df540928889b793903096469b5f71a Mon Sep 17 00:00:00 2001 From: Henrique Nogara Date: Thu, 12 Dec 2024 09:45:30 -0300 Subject: [PATCH 3/6] Add initial draft for allowing a custom genesis config setting --- runtime/develop/src/runtime.rs | 2 +- src/chain_spec.rs | 282 +++++++++++++++++++++++++++++++-- src/cli.rs | 63 ++++++++ src/command.rs | 20 ++- 4 files changed, 356 insertions(+), 11 deletions(-) diff --git a/runtime/develop/src/runtime.rs b/runtime/develop/src/runtime.rs index 006c4a7..2efaa9e 100644 --- a/runtime/develop/src/runtime.rs +++ b/runtime/develop/src/runtime.rs @@ -394,7 +394,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, // TransactionPayment: Genesis config dependencies: Balance. - TransactionPayment: pallet_transaction_payment::{Pallet, Call, Event, Storage}, + TransactionPayment: pallet_transaction_payment::{Pallet, Call, Config, Event, Storage}, // Identity: Genesis config deps: Timestamp. Identity: pallet_identity::{Pallet, Call, Storage, Event, Config}, diff --git a/src/chain_spec.rs b/src/chain_spec.rs index 1964f6f..e4a73be 100644 --- a/src/chain_spec.rs +++ b/src/chain_spec.rs @@ -24,6 +24,10 @@ use sp_runtime::traits::{AccountIdConversion, IdentifyAccount, Verify}; use sp_runtime::{Deserialize, Serialize}; use std::convert::TryInto; +use crate::cli::{CustomChainConfig, InitialIdentity}; + +const DEFAULT_TOKEN_SYMBOL: &str = "POLYX"; + // The URL for the telemetry server. const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polymesh.network/submit/"; @@ -100,11 +104,25 @@ pub fn get_authority_keys_from_seed(s: &str, uniq: bool) -> InitialAuth { ) } -fn polymesh_props(ss58: u8) -> Properties { - json!({ "ss58Format": ss58, "tokenDecimals": 6, "tokenSymbol": "POLYX" }) - .as_object() - .unwrap() - .clone() +/// Returns the following JSON object: +/// +/// { +/// "ss58Format": `ss58_prefix`, +/// "tokenDecimals": 6, +/// "tokenSymbol": `token_symbol` +/// } +/// +/// If `token_symbol` is `None`, defaults to POLYX. +fn polymesh_properties(ss58_prefix: u8, token_symbol: Option<&str>) -> Properties { + json!( + { + "ss58Format": ss58_prefix, + "tokenDecimals": 6, + "tokenSymbol": token_symbol.unwrap_or(DEFAULT_TOKEN_SYMBOL) + }) + .as_object() + .unwrap() + .clone() } macro_rules! session_keys { @@ -198,6 +216,88 @@ fn adjust_last(bytes: &mut [u8], n: u8) -> &str { core::str::from_utf8(bytes).unwrap() } +/// The data for the settings set at genesis. +struct CustomGenesisProcessedData { + pub(crate) identity_records: Vec>, + pub(crate) initial_validators: Vec, + pub(crate) balances: Vec<(AccountId, u128)>, + pub(crate) polymesh_committe_members: Vec, + pub(crate) upgrade_committee_members: Vec, + pub(crate) technical_committee_members: Vec, +} + +/// Returns [`CustomGenesisProcessedData`] containing the records for the identities created at +/// genesis, their balance and the committee members. +fn genesis_identities_and_balances( + initial_identities: Vec, + sudo_account: Option, + treasury_initial_funds: u128, + initial_funds: u128, +) -> CustomGenesisProcessedData { + let mut nonce = 1; + let mut genesis_validators = Vec::new(); + let mut genesis_identities = Vec::new(); + let mut genesis_balances = Vec::new(); + + let mut polymesh_committe_members = Vec::new(); + let mut upgrade_committee_members = Vec::new(); + let mut technical_committee_members = Vec::new(); + + for initial_id in initial_identities { + let mut genesis_record = GenesisIdentityRecord::new(nonce, initial_id.account_id.clone()); + + if initial_id.is_cdd_provider { + genesis_record + .issuers + .push(SystematicIssuers::CDDProvider.as_id()); + } + + if initial_id.is_validator { + genesis_validators.push(initial_id.account_id.clone()); + } + + if initial_id.polymesh_committee_member { + polymesh_committe_members.push(genesis_record.did); + } + + if initial_id.upgrade_committee_member { + upgrade_committee_members.push(genesis_record.did); + } + + if initial_id.technical_committee_member { + technical_committee_members.push(genesis_record.did); + } + + genesis_identities.push(genesis_record); + genesis_balances.push((initial_id.account_id, initial_funds)); + nonce += 1; + } + + // Set sudo genesis record + if let Some(sudo_account) = sudo_account { + let mut sudo_genesis_record = GenesisIdentityRecord::new(nonce, sudo_account.clone()); + sudo_genesis_record + .issuers + .push(SystematicIssuers::CDDProvider.as_id()); + genesis_identities.push(sudo_genesis_record); + genesis_balances.push((sudo_account, initial_funds)); + } + + genesis_balances.push(( + TREASURY_PALLET_ID.into_account_truncating(), + treasury_initial_funds, + )); + + CustomGenesisProcessedData { + identity_records: genesis_identities, + initial_validators: genesis_validators, + balances: genesis_balances, + polymesh_committe_members, + upgrade_committee_members, + technical_committee_members, + } +} + fn genesis_processed_data( initial_authorities: &Vec, root_key: AccountId, //polymesh_5 @@ -429,6 +529,7 @@ fn contracts_call_whitelist() -> Vec { pub mod develop { use super::*; use polymesh_private_runtime_develop::{self as rt, constants::time}; + use sp_runtime::FixedU128; pub type ChainSpec = GenericChainSpec; @@ -519,7 +620,7 @@ pub mod develop { ctype: ChainType, genesis: impl 'static + Sync + Send + Fn() -> rt::runtime::GenesisConfig, ) -> ChainSpec { - let props = Some(polymesh_props(42)); + let props = Some(polymesh_properties(42, None)); ChainSpec::from_genesis( name, id, @@ -565,6 +666,169 @@ pub mod develop { local_genesis, ) } + + /// Returns [`ChainSpec`] based on `chain_config` (see [`CustomChainConfig`]). + pub fn custom_config(custom_chain_config: CustomChainConfig) -> ChainSpec { + let chain_config = custom_chain_config.clone(); + + let genesis_constructor = move || -> rt::runtime::GenesisConfig { + let genesis_settings = custom_genesis(chain_config.clone()); + + rt::runtime::GenesisConfig { + system: frame(rt::WASM_BINARY), + asset: asset!(), + checkpoint: checkpoint!(), + identity: pallet_identity::GenesisConfig { + identities: genesis_settings.processed_data.identity_records, + ..Default::default() + }, + balances: rt::runtime::BalancesConfig { + balances: genesis_settings.processed_data.balances, + }, + transaction_payment: pallet_transaction_payment::GenesisConfig { + multiplier: FixedU128::from(1), + disable_fees: genesis_settings.disable_fees, + }, + indices: pallet_indices::GenesisConfig { indices: vec![] }, + sudo: pallet_sudo::GenesisConfig { + key: genesis_settings.sudo_account.clone(), + }, + session: unimplemented!(), + pips: pips!(time::MINUTES, MaybeBlock::None, 25), + im_online: Default::default(), + authority_discovery: Default::default(), + validator_set: validator_set::GenesisConfig { + initial_validators: genesis_settings.processed_data.initial_validators, + }, + babe: pallet_babe::GenesisConfig { + authorities: vec![], + epoch_config: Some(rt::runtime::BABE_GENESIS_EPOCH_CONFIG), + }, + grandpa: Default::default(), + committee_membership: pallet_group::GenesisConfig { + active_members_limit: 20, + active_members: genesis_settings.processed_data.polymesh_committe_members, + phantom: Default::default(), + }, + polymesh_committee: pallet_committee::GenesisConfig { + vote_threshold: (2, 3), + release_coordinator: genesis_settings.polymesh_coordinator, + ..Default::default() + }, + cdd_service_providers: group_membership!(1), + technical_committee_membership: pallet_group::GenesisConfig { + active_members_limit: 20, + active_members: genesis_settings.processed_data.technical_committee_members, + phantom: Default::default(), + }, + technical_committee: pallet_committee::GenesisConfig { + vote_threshold: (1, 2), + release_coordinator: genesis_settings.technical_coordinator, + ..Default::default() + }, + upgrade_committee_membership: pallet_group::GenesisConfig { + active_members_limit: 20, + active_members: genesis_settings.processed_data.upgrade_committee_members, + phantom: Default::default(), + }, + upgrade_committee: pallet_committee::GenesisConfig { + vote_threshold: (1, 2), + release_coordinator: genesis_settings.upgrade_coordinator, + ..Default::default() + }, + protocol_fee: protocol_fee!(), + settlement: Default::default(), + portfolio: Default::default(), + statistics: Default::default(), + multi_sig: Default::default(), + corporate_action: corporate_actions!(), + polymesh_contracts: polymesh_contracts!(genesis_settings.sudo_account), + ..Default::default() + } + }; + + ChainSpec::from_genesis( + custom_chain_config.chain_name.as_str(), + custom_chain_config.chain_id.as_str(), + custom_chain_config.chain_type, + genesis_constructor, + custom_chain_config.boot_nodes.unwrap_or_default(), + custom_chain_config.telemetry_endpoints, + custom_chain_config.protocol_id.as_deref(), + None, + Some(polymesh_properties( + custom_chain_config.account_ss58_prefix.unwrap_or(42), + custom_chain_config.token_symbol.as_deref(), + )), + Default::default(), + ) + } + + /// The data that will be used for setting the genesis config. + struct CustomGenesisSettings { + pub(crate) processed_data: CustomGenesisProcessedData, + pub(crate) polymesh_coordinator: IdentityId, + pub(crate) technical_coordinator: IdentityId, + pub(crate) upgrade_coordinator: IdentityId, + pub(crate) disable_fees: bool, + pub(crate) sudo_account: Option, + } + + /// Returns [`CustomGenesisSettings`] containing the data for creating the genesis config. + fn custom_genesis(chain_config: CustomChainConfig) -> CustomGenesisSettings { + // Sets the sudo account for the chain + let sudo_account = { + if chain_config.disable_sudo.unwrap_or(false) { + None + } else { + Some( + chain_config + .sudo_account + .clone() + .unwrap_or(seeded_acc_id("Eve")), + ) + } + }; + // Gets the initial account ids and balances + let initial_identities = { + match chain_config.initial_identities { + Some(initial_identities) => initial_identities, + None => unimplemented!(), + } + }; + let processed_data = genesis_identities_and_balances( + initial_identities, + sudo_account.clone(), + BOOTSTRAP_TREASURY, + chain_config.initial_funds.unwrap_or(BOOTSTRAP_KEYS), + ); + + // Find the identity of the release coordinators + let mut upgrade_coordinator = None; + let mut polymesh_coordinator = None; + let mut technical_coordinator = None; + + for genesis_id_record in &processed_data.identity_records { + if genesis_id_record.primary_key == chain_config.polymesh_release_coordinator { + polymesh_coordinator = Some(genesis_id_record.did); + } + if genesis_id_record.primary_key == chain_config.technical_release_coordinator { + technical_coordinator = Some(genesis_id_record.did); + } + if genesis_id_record.primary_key == chain_config.technical_release_coordinator { + upgrade_coordinator = Some(genesis_id_record.did); + } + } + + CustomGenesisSettings { + processed_data, + polymesh_coordinator: polymesh_coordinator.unwrap_or(IdentityId::from(1)), + technical_coordinator: technical_coordinator.unwrap_or(IdentityId::from(1)), + upgrade_coordinator: upgrade_coordinator.unwrap_or(IdentityId::from(1)), + disable_fees: chain_config.disable_fees.unwrap_or(false), + sudo_account, + } + } } pub mod production { @@ -678,7 +942,7 @@ pub mod production { ), Some(&*"/polymesh/production"), None, - Some(polymesh_props(12)), + Some(polymesh_properties(12, None)), Default::default(), ) } @@ -704,7 +968,7 @@ pub mod production { None, None, None, - Some(polymesh_props(12)), + Some(polymesh_properties(12, None)), Default::default(), ) } @@ -734,7 +998,7 @@ pub mod production { None, None, None, - Some(polymesh_props(12)), + Some(polymesh_properties(12, None)), Default::default(), ) } diff --git a/src/cli.rs b/src/cli.rs index 4c4c849..16d7b64 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,3 +1,10 @@ +use sc_chain_spec::ChainType; +use sc_network_common::config::MultiaddrWithPeerId; +use sc_telemetry::TelemetryEndpoints; +use sp_runtime::{Deserialize, Serialize}; + +use polymesh_primitives::AccountId; + #[derive(Debug, clap::Parser)] pub struct Cli { /// Possible subcommand with parameters. @@ -50,3 +57,59 @@ pub enum Subcommand { #[clap(subcommand)] Benchmark(frame_benchmarking_cli::BenchmarkCmd), } + +/// List of chain configuration that can be customized at initialization. +#[derive(Clone, Debug, Serialize, Deserialize)] +pub struct CustomChainConfig { + /// The name of the chain + pub chain_name: String, + /// The chain identifier + pub chain_id: String, + /// Sets the chain type (see [`ChainType`]). + pub chain_type: ChainType, + /// The address of the boot nodes (see [`MultiaddrWithPeerId`]). + pub boot_nodes: Option>, + /// List of telemetry servers we want to talk to. Contains the URL of the server, and the maximum verbosity level. + pub telemetry_endpoints: Option, + /// The protocol identifier + pub protocol_id: Option, + /// Sets the account SS58 pre-fix. If `None` will default to 12. + pub account_ss58_prefix: Option, + /// Defines the token symbol. If `None` will default to POLYX. + pub token_symbol: Option, + /// A list of identities that are created at initialization. + pub initial_identities: Option>, + /// The amount that will be added to the funded accounts. + pub initial_funds: Option, + /// The polymesh commmittee coordinator account. + pub polymesh_release_coordinator: Option, + /// The technical commmittee coordinator account. + pub technical_release_coordinator: Option, + /// The upgrade commmittee coordinator account. + pub upgrade_release_coordinator: Option, + /// Set to `true` if there are no sudo accounts. + pub disable_sudo: Option, + /// The sudo account. If `None`, "Eve" will be the sudo account. + pub sudo_account: Option, + /// Set to `true` if no fees should be charged. + pub disable_fees: Option, +} + +/// Data needed for creating identities at initialization. +#[derive(Clone, Debug, Serialize, Deserialize)] +pub struct InitialIdentity { + /// The public key of the account. + pub account_id: AccountId, + /// Set to `true` if the identity should be a chain validator. + pub is_validator: bool, + /// Set to `true` if the identity should be a CDD provider. + pub is_cdd_provider: bool, + /// Set to `true` if the account should be funded at initialization. + pub is_funded: bool, + /// Set to `true` if the account's identity should be part of the polymesh committee. + pub polymesh_committee_member: bool, + /// Set to `true` if the account's identity should be part of the technical committee. + pub technical_committee_member: bool, + /// Set to `true` if the account's identity should be part of the upgrade committee. + pub upgrade_committee_member: bool, +} diff --git a/src/command.rs b/src/command.rs index 40eda9c..8808302 100644 --- a/src/command.rs +++ b/src/command.rs @@ -16,7 +16,7 @@ // limitations under the License. use crate::chain_spec; -use crate::cli::{Cli, Subcommand}; +use crate::cli::{Cli, CustomChainConfig, Subcommand}; use crate::service::{ self, develop_chain_ops, new_partial, production_chain_ops, DevelopExecutor, FullClient, FullServiceComponents, IsNetwork, Network, NewChainOps, ProductionExecutor, @@ -60,6 +60,13 @@ impl SubstrateCli for Cli { } fn load_spec(&self, id: &str) -> std::result::Result, String> { + if let Some(file_path) = id.strip_prefix("config_path:") { + let custom_chain_config = read_chain_config(file_path)?; + return Ok(Box::new(chain_spec::develop::custom_config( + custom_chain_config, + ))); + } + Ok(match id { "dev" => Box::new(chain_spec::develop::develop_config()), "local" => Box::new(chain_spec::develop::local_config()), @@ -89,9 +96,11 @@ impl SubstrateCli for Cli { /// Parses Polymesh specific CLI arguments and run the service. pub fn run() -> Result<()> { let mut cli = Cli::from_args(); + if cli.run.operator { cli.run.base.validator = true; } + match &cli.subcommand { None => { let runner = cli.create_runner(&cli.run.base)?; @@ -249,3 +258,12 @@ where } } } + +/// Returns [`CustomChainConfig`] if `config_path` contains the path to its valid JSON file. +fn read_chain_config(config_path: &str) -> std::result::Result { + let file = std::fs::File::open(config_path).map_err(|_| "Failed to open file".to_owned())?; + let reader = std::io::BufReader::new(file); + + serde_json::from_reader(reader) + .map_err(|_| "Unable to deserialize CustomChainConfig from file".into()) +} From d237bf5ffdbd338b24c4ffc18e6255d88b01c944 Mon Sep 17 00:00:00 2001 From: Henrique Nogara Date: Sat, 14 Dec 2024 12:01:06 -0300 Subject: [PATCH 4/6] Add custom mod for allowing the user to customize the genesis config --- Cargo.lock | 1 + Cargo.toml | 1 + runtime/develop/src/runtime.rs | 2 +- runtime/production/src/runtime.rs | 2 +- src/chain_spec.rs | 545 ++++++++++++++++-------------- src/cli.rs | 36 +- src/command.rs | 3 +- 7 files changed, 329 insertions(+), 261 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6e5a36c..47cc33f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5956,6 +5956,7 @@ dependencies = [ "pallet-confidential-asset", "pallet-corporate-actions", "pallet-external-agents", + "pallet-grandpa", "pallet-group", "pallet-group-rpc", "pallet-group-rpc-runtime-api", diff --git a/Cargo.toml b/Cargo.toml index c0d495a..a2fe095 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -228,6 +228,7 @@ pallet-base = { workspace = true, default-features = false } pallet-committee = { workspace = true, default-features = false } pallet-compliance-manager = { workspace = true, default-features = false } pallet-confidential-asset = { workspace = true, default-features = false } +pallet-grandpa = { workspace = true, default-features = false } polymesh-host-functions = { workspace = true, default-features = false } pallet-corporate-actions = { workspace = true, default-features = false } pallet-external-agents = { workspace = true, default-features = false } diff --git a/runtime/develop/src/runtime.rs b/runtime/develop/src/runtime.rs index 2efaa9e..006c4a7 100644 --- a/runtime/develop/src/runtime.rs +++ b/runtime/develop/src/runtime.rs @@ -394,7 +394,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, // TransactionPayment: Genesis config dependencies: Balance. - TransactionPayment: pallet_transaction_payment::{Pallet, Call, Config, Event, Storage}, + TransactionPayment: pallet_transaction_payment::{Pallet, Call, Event, Storage}, // Identity: Genesis config deps: Timestamp. Identity: pallet_identity::{Pallet, Call, Storage, Event, Config}, diff --git a/runtime/production/src/runtime.rs b/runtime/production/src/runtime.rs index f605cd2..8b537a9 100644 --- a/runtime/production/src/runtime.rs +++ b/runtime/production/src/runtime.rs @@ -308,7 +308,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, // TransactionPayment: Genesis config dependencies: Balance. - TransactionPayment: pallet_transaction_payment::{Pallet, Call, Event, Storage}, + TransactionPayment: pallet_transaction_payment::{Pallet, Call, Config, Event, Storage}, // Identity: Genesis config deps: Timestamp. Identity: pallet_identity::{Pallet, Call, Storage, Event, Config}, diff --git a/src/chain_spec.rs b/src/chain_spec.rs index e4a73be..08efcb2 100644 --- a/src/chain_spec.rs +++ b/src/chain_spec.rs @@ -24,8 +24,6 @@ use sp_runtime::traits::{AccountIdConversion, IdentifyAccount, Verify}; use sp_runtime::{Deserialize, Serialize}; use std::convert::TryInto; -use crate::cli::{CustomChainConfig, InitialIdentity}; - const DEFAULT_TOKEN_SYMBOL: &str = "POLYX"; // The URL for the telemetry server. @@ -216,88 +214,6 @@ fn adjust_last(bytes: &mut [u8], n: u8) -> &str { core::str::from_utf8(bytes).unwrap() } -/// The data for the settings set at genesis. -struct CustomGenesisProcessedData { - pub(crate) identity_records: Vec>, - pub(crate) initial_validators: Vec, - pub(crate) balances: Vec<(AccountId, u128)>, - pub(crate) polymesh_committe_members: Vec, - pub(crate) upgrade_committee_members: Vec, - pub(crate) technical_committee_members: Vec, -} - -/// Returns [`CustomGenesisProcessedData`] containing the records for the identities created at -/// genesis, their balance and the committee members. -fn genesis_identities_and_balances( - initial_identities: Vec, - sudo_account: Option, - treasury_initial_funds: u128, - initial_funds: u128, -) -> CustomGenesisProcessedData { - let mut nonce = 1; - let mut genesis_validators = Vec::new(); - let mut genesis_identities = Vec::new(); - let mut genesis_balances = Vec::new(); - - let mut polymesh_committe_members = Vec::new(); - let mut upgrade_committee_members = Vec::new(); - let mut technical_committee_members = Vec::new(); - - for initial_id in initial_identities { - let mut genesis_record = GenesisIdentityRecord::new(nonce, initial_id.account_id.clone()); - - if initial_id.is_cdd_provider { - genesis_record - .issuers - .push(SystematicIssuers::CDDProvider.as_id()); - } - - if initial_id.is_validator { - genesis_validators.push(initial_id.account_id.clone()); - } - - if initial_id.polymesh_committee_member { - polymesh_committe_members.push(genesis_record.did); - } - - if initial_id.upgrade_committee_member { - upgrade_committee_members.push(genesis_record.did); - } - - if initial_id.technical_committee_member { - technical_committee_members.push(genesis_record.did); - } - - genesis_identities.push(genesis_record); - genesis_balances.push((initial_id.account_id, initial_funds)); - nonce += 1; - } - - // Set sudo genesis record - if let Some(sudo_account) = sudo_account { - let mut sudo_genesis_record = GenesisIdentityRecord::new(nonce, sudo_account.clone()); - sudo_genesis_record - .issuers - .push(SystematicIssuers::CDDProvider.as_id()); - genesis_identities.push(sudo_genesis_record); - genesis_balances.push((sudo_account, initial_funds)); - } - - genesis_balances.push(( - TREASURY_PALLET_ID.into_account_truncating(), - treasury_initial_funds, - )); - - CustomGenesisProcessedData { - identity_records: genesis_identities, - initial_validators: genesis_validators, - balances: genesis_balances, - polymesh_committe_members, - upgrade_committee_members, - technical_committee_members, - } -} - fn genesis_processed_data( initial_authorities: &Vec, root_key: AccountId, //polymesh_5 @@ -529,7 +445,6 @@ fn contracts_call_whitelist() -> Vec { pub mod develop { use super::*; use polymesh_private_runtime_develop::{self as rt, constants::time}; - use sp_runtime::FixedU128; pub type ChainSpec = GenericChainSpec; @@ -666,169 +581,6 @@ pub mod develop { local_genesis, ) } - - /// Returns [`ChainSpec`] based on `chain_config` (see [`CustomChainConfig`]). - pub fn custom_config(custom_chain_config: CustomChainConfig) -> ChainSpec { - let chain_config = custom_chain_config.clone(); - - let genesis_constructor = move || -> rt::runtime::GenesisConfig { - let genesis_settings = custom_genesis(chain_config.clone()); - - rt::runtime::GenesisConfig { - system: frame(rt::WASM_BINARY), - asset: asset!(), - checkpoint: checkpoint!(), - identity: pallet_identity::GenesisConfig { - identities: genesis_settings.processed_data.identity_records, - ..Default::default() - }, - balances: rt::runtime::BalancesConfig { - balances: genesis_settings.processed_data.balances, - }, - transaction_payment: pallet_transaction_payment::GenesisConfig { - multiplier: FixedU128::from(1), - disable_fees: genesis_settings.disable_fees, - }, - indices: pallet_indices::GenesisConfig { indices: vec![] }, - sudo: pallet_sudo::GenesisConfig { - key: genesis_settings.sudo_account.clone(), - }, - session: unimplemented!(), - pips: pips!(time::MINUTES, MaybeBlock::None, 25), - im_online: Default::default(), - authority_discovery: Default::default(), - validator_set: validator_set::GenesisConfig { - initial_validators: genesis_settings.processed_data.initial_validators, - }, - babe: pallet_babe::GenesisConfig { - authorities: vec![], - epoch_config: Some(rt::runtime::BABE_GENESIS_EPOCH_CONFIG), - }, - grandpa: Default::default(), - committee_membership: pallet_group::GenesisConfig { - active_members_limit: 20, - active_members: genesis_settings.processed_data.polymesh_committe_members, - phantom: Default::default(), - }, - polymesh_committee: pallet_committee::GenesisConfig { - vote_threshold: (2, 3), - release_coordinator: genesis_settings.polymesh_coordinator, - ..Default::default() - }, - cdd_service_providers: group_membership!(1), - technical_committee_membership: pallet_group::GenesisConfig { - active_members_limit: 20, - active_members: genesis_settings.processed_data.technical_committee_members, - phantom: Default::default(), - }, - technical_committee: pallet_committee::GenesisConfig { - vote_threshold: (1, 2), - release_coordinator: genesis_settings.technical_coordinator, - ..Default::default() - }, - upgrade_committee_membership: pallet_group::GenesisConfig { - active_members_limit: 20, - active_members: genesis_settings.processed_data.upgrade_committee_members, - phantom: Default::default(), - }, - upgrade_committee: pallet_committee::GenesisConfig { - vote_threshold: (1, 2), - release_coordinator: genesis_settings.upgrade_coordinator, - ..Default::default() - }, - protocol_fee: protocol_fee!(), - settlement: Default::default(), - portfolio: Default::default(), - statistics: Default::default(), - multi_sig: Default::default(), - corporate_action: corporate_actions!(), - polymesh_contracts: polymesh_contracts!(genesis_settings.sudo_account), - ..Default::default() - } - }; - - ChainSpec::from_genesis( - custom_chain_config.chain_name.as_str(), - custom_chain_config.chain_id.as_str(), - custom_chain_config.chain_type, - genesis_constructor, - custom_chain_config.boot_nodes.unwrap_or_default(), - custom_chain_config.telemetry_endpoints, - custom_chain_config.protocol_id.as_deref(), - None, - Some(polymesh_properties( - custom_chain_config.account_ss58_prefix.unwrap_or(42), - custom_chain_config.token_symbol.as_deref(), - )), - Default::default(), - ) - } - - /// The data that will be used for setting the genesis config. - struct CustomGenesisSettings { - pub(crate) processed_data: CustomGenesisProcessedData, - pub(crate) polymesh_coordinator: IdentityId, - pub(crate) technical_coordinator: IdentityId, - pub(crate) upgrade_coordinator: IdentityId, - pub(crate) disable_fees: bool, - pub(crate) sudo_account: Option, - } - - /// Returns [`CustomGenesisSettings`] containing the data for creating the genesis config. - fn custom_genesis(chain_config: CustomChainConfig) -> CustomGenesisSettings { - // Sets the sudo account for the chain - let sudo_account = { - if chain_config.disable_sudo.unwrap_or(false) { - None - } else { - Some( - chain_config - .sudo_account - .clone() - .unwrap_or(seeded_acc_id("Eve")), - ) - } - }; - // Gets the initial account ids and balances - let initial_identities = { - match chain_config.initial_identities { - Some(initial_identities) => initial_identities, - None => unimplemented!(), - } - }; - let processed_data = genesis_identities_and_balances( - initial_identities, - sudo_account.clone(), - BOOTSTRAP_TREASURY, - chain_config.initial_funds.unwrap_or(BOOTSTRAP_KEYS), - ); - - // Find the identity of the release coordinators - let mut upgrade_coordinator = None; - let mut polymesh_coordinator = None; - let mut technical_coordinator = None; - - for genesis_id_record in &processed_data.identity_records { - if genesis_id_record.primary_key == chain_config.polymesh_release_coordinator { - polymesh_coordinator = Some(genesis_id_record.did); - } - if genesis_id_record.primary_key == chain_config.technical_release_coordinator { - technical_coordinator = Some(genesis_id_record.did); - } - if genesis_id_record.primary_key == chain_config.technical_release_coordinator { - upgrade_coordinator = Some(genesis_id_record.did); - } - } - - CustomGenesisSettings { - processed_data, - polymesh_coordinator: polymesh_coordinator.unwrap_or(IdentityId::from(1)), - technical_coordinator: technical_coordinator.unwrap_or(IdentityId::from(1)), - upgrade_coordinator: upgrade_coordinator.unwrap_or(IdentityId::from(1)), - disable_fees: chain_config.disable_fees.unwrap_or(false), - sudo_account, - } - } } pub mod production { @@ -1134,3 +886,300 @@ pub mod develop { ) } } + +pub mod custom { + use pallet_im_online::sr25519::AuthorityId as OnlineAuthorityId; + use sp_authority_discovery::AuthorityId as DiscoveryAuthorityId; + use sp_core::ByteArray; + use sp_runtime::FixedU128; + + use polymesh_private_runtime_production::constants::time; + use polymesh_private_runtime_production::runtime::GenesisConfig as ProductionGenesisConfig; + use polymesh_private_runtime_production::runtime::{BalancesConfig, BABE_GENESIS_EPOCH_CONFIG}; + use polymesh_private_runtime_production::SessionKeys; + use polymesh_private_runtime_production::WASM_BINARY; + + use super::*; + use crate::cli::{CustomChainConfig, ValidatorKeys}; + + pub type ChainSpec = GenericChainSpec; + + /// The identity of all committee members. + #[derive(Default)] + struct CommitteeMembers { + pub(crate) upgrade_committee: Vec, + pub(crate) polymesh_committee: Vec, + pub(crate) technical_committee: Vec, + pub(crate) cdd_providers_committee: Vec, + } + + /// The identity of all release coordinators. + struct ReleaseCoordinators { + /// The upgrade commmittee coordinator account. + pub(crate) upgrade: IdentityId, + /// The polymesh commmittee coordinator account. + pub(crate) polymesh: IdentityId, + /// The technical commmittee coordinator account. + pub(crate) technical: IdentityId, + } + + /// The data that will be used for setting the genesis config. + struct CustomGenesisSettings { + /// The identity records that will be created at genesis. + pub(crate) identity_records: Vec>, + /// The balance of all accounts set at genesis. + pub(crate) balances: Vec<(AccountId, u128)>, + /// The Identity of all committee members. + pub(crate) committee_members: CommitteeMembers, + /// The account of all initial_validators. + pub(crate) initial_validators: Vec, + /// The account of all release coordinators. + pub(crate) release_coordinators: ReleaseCoordinators, + /// Set to `true` if no fees should be charged. + pub(crate) disable_fees: bool, + /// The sudo account. + pub(crate) sudo_account: Option, + } + + /// Returns [`ChainSpec`] based on `chain_config` (see [`CustomChainConfig`]). + pub fn chain_spec(custom_chain_config: CustomChainConfig) -> ChainSpec { + let chain_config = custom_chain_config.clone(); + + let genesis_constructor = move || -> ProductionGenesisConfig { + let genesis_settings = genesis_settings(chain_config.clone()); + + ProductionGenesisConfig { + system: frame(WASM_BINARY), + asset: asset!(), + checkpoint: checkpoint!(), + identity: pallet_identity::GenesisConfig { + identities: genesis_settings.identity_records, + ..Default::default() + }, + balances: BalancesConfig { + balances: genesis_settings.balances, + }, + transaction_payment: pallet_transaction_payment::GenesisConfig { + multiplier: FixedU128::from(1), + disable_fees: genesis_settings.disable_fees, + }, + session: pallet_session::GenesisConfig { + keys: split_session_keys(chain_config.session_keys.clone()), + }, + pips: pips!(time::DAYS * 30, MaybeBlock::Some(time::DAYS * 90), 1000), + validator_set: validator_set::GenesisConfig { + initial_validators: genesis_settings.initial_validators, + }, + babe: pallet_babe::GenesisConfig { + authorities: vec![], + epoch_config: Some(BABE_GENESIS_EPOCH_CONFIG), + }, + committee_membership: pallet_group::GenesisConfig { + active_members_limit: 20, + active_members: genesis_settings.committee_members.polymesh_committee, + phantom: Default::default(), + }, + polymesh_committee: pallet_committee::GenesisConfig { + vote_threshold: (2, 3), + release_coordinator: genesis_settings.release_coordinators.polymesh, + ..Default::default() + }, + cdd_service_providers: pallet_group::GenesisConfig { + active_members_limit: 20, + active_members: genesis_settings.committee_members.cdd_providers_committee, + phantom: Default::default(), + }, + technical_committee_membership: pallet_group::GenesisConfig { + active_members_limit: 20, + active_members: genesis_settings.committee_members.technical_committee, + phantom: Default::default(), + }, + technical_committee: pallet_committee::GenesisConfig { + vote_threshold: (1, 2), + release_coordinator: genesis_settings.release_coordinators.technical, + ..Default::default() + }, + upgrade_committee_membership: pallet_group::GenesisConfig { + active_members_limit: 20, + active_members: genesis_settings.committee_members.upgrade_committee, + phantom: Default::default(), + }, + upgrade_committee: pallet_committee::GenesisConfig { + vote_threshold: (1, 2), + release_coordinator: genesis_settings.release_coordinators.upgrade, + ..Default::default() + }, + protocol_fee: protocol_fee!(), + corporate_action: corporate_actions!(), + polymesh_contracts: polymesh_contracts!(genesis_settings.sudo_account), + ..Default::default() + } + }; + + ChainSpec::from_genesis( + custom_chain_config.chain_name.as_str(), + custom_chain_config.chain_id.as_str(), + custom_chain_config.chain_type, + genesis_constructor, + custom_chain_config.boot_nodes.unwrap_or_default(), + custom_chain_config.telemetry_endpoints, + custom_chain_config.protocol_id.as_deref(), + None, + Some(polymesh_properties( + custom_chain_config.account_ss58_prefix.unwrap_or(42), + custom_chain_config.token_symbol.as_deref(), + )), + Default::default(), + ) + } + + /// Returns [`CustomGenesisSettings`] containing the records for the identities created at genesis, + /// their balance, the set of validators and the committee members. + fn genesis_settings(chain_config: CustomChainConfig) -> CustomGenesisSettings { + let initial_funds = chain_config.initial_funds.unwrap_or(BOOTSTRAP_KEYS); + + let mut balances = Vec::new(); + let mut initial_validators = Vec::new(); + let mut identity_records = Vec::new(); + + let mut upgrade_coordinator = None; + let mut polymesh_coordinator = None; + let mut technical_coordinator = None; + let mut committee_members = CommitteeMembers::default(); + + let mut nonce = 1; + for initial_id in chain_config.initial_identities.identities { + let mut genesis_record = + GenesisIdentityRecord::new(nonce, initial_id.account_id.clone()); + + if initial_id.is_cdd_provider { + genesis_record + .issuers + .push(SystematicIssuers::CDDProvider.as_id()); + committee_members + .cdd_providers_committee + .push(genesis_record.did); + } + + if initial_id.is_validator { + initial_validators.push(initial_id.account_id.clone()); + } + + // Check if the account is a committee member + if initial_id.polymesh_committee_member { + committee_members + .polymesh_committee + .push(genesis_record.did); + } + + if initial_id.upgrade_committee_member { + committee_members.upgrade_committee.push(genesis_record.did); + } + + if initial_id.technical_committee_member { + committee_members + .technical_committee + .push(genesis_record.did); + } + + // Check if the account is a coordinator + if initial_id.account_id == chain_config.initial_identities.polymesh_coordinator { + polymesh_coordinator = Some(genesis_record.did); + } + + if initial_id.account_id == chain_config.initial_identities.upgrade_coordinator { + upgrade_coordinator = Some(genesis_record.did); + } + + if initial_id.account_id == chain_config.initial_identities.technical_coordinator { + technical_coordinator = Some(genesis_record.did); + } + + identity_records.push(genesis_record); + balances.push((initial_id.account_id, initial_funds)); + nonce += 1; + } + + // Set sudo genesis record + if let Some(sudo_account) = &chain_config.sudo_account { + let mut genesis_record = GenesisIdentityRecord::new(nonce, sudo_account.clone()); + genesis_record + .issuers + .push(SystematicIssuers::CDDProvider.as_id()); + identity_records.push(genesis_record); + balances.push((sudo_account.clone(), initial_funds)); + } + + // Set treasury balance + balances.push(( + TREASURY_PALLET_ID.into_account_truncating(), + BOOTSTRAP_TREASURY, + )); + + // If any of the coordinator accounts has not been set as an initial identity, we must panic. + let release_coordinators = ReleaseCoordinators { + upgrade: upgrade_coordinator.expect( + "The release coordinator AccountId has not been set as an initial identity.", + ), + polymesh: polymesh_coordinator.expect( + "The polymesh coordinator AccountId has not been set as an initial identity.", + ), + technical: technical_coordinator.expect( + "The technical coordinator AccountId has not been set as an initial identity.", + ), + }; + CustomGenesisSettings { + identity_records, + balances, + committee_members, + initial_validators, + release_coordinators, + disable_fees: chain_config.disable_fees.unwrap_or(false), + sudo_account: chain_config.sudo_account, + } + } + + fn split_session_keys( + validators_keys: Vec, + ) -> Vec<(AccountId, AccountId, SessionKeys)> { + let mut session_keys = Vec::new(); + + for validator in validators_keys { + // Must be represented in hexadecimal + if !validator.session_keys.starts_with("0x") { + panic!("Invalid session keys"); + } + + // Must contain 4 keys of 64 bytes + if validator.session_keys.len() != 258 { + panic!("Invalid session keys"); + } + + let grandpa = + pallet_grandpa::AuthorityId::from_slice(validator.session_keys[2..66].as_bytes()) + .expect("Invalid Grandpa session keys"); + let babe = + pallet_babe::AuthorityId::from_slice(validator.session_keys[66..130].as_bytes()) + .expect("Invalid BABE session keys"); + let im_online = + OnlineAuthorityId::from_slice(validator.session_keys[130..194].as_bytes()) + .expect("Invalid Im-Online session keys"); + let authority_discovery = + DiscoveryAuthorityId::from_slice(validator.session_keys[194..258].as_bytes()) + .expect("Invalid Authority session keys"); + + session_keys.push(( + validator.account_id.clone(), + validator.account_id, + SessionKeys { + grandpa, + babe, + im_online, + authority_discovery, + }, + )); + } + + session_keys + } +} diff --git a/src/cli.rs b/src/cli.rs index 16d7b64..b6d4851 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -77,24 +77,40 @@ pub struct CustomChainConfig { pub account_ss58_prefix: Option, /// Defines the token symbol. If `None` will default to POLYX. pub token_symbol: Option, + /// All session keys. + pub session_keys: Vec, /// A list of identities that are created at initialization. - pub initial_identities: Option>, + pub initial_identities: InitialIdentities, /// The amount that will be added to the funded accounts. pub initial_funds: Option, - /// The polymesh commmittee coordinator account. - pub polymesh_release_coordinator: Option, - /// The technical commmittee coordinator account. - pub technical_release_coordinator: Option, - /// The upgrade commmittee coordinator account. - pub upgrade_release_coordinator: Option, - /// Set to `true` if there are no sudo accounts. - pub disable_sudo: Option, - /// The sudo account. If `None`, "Eve" will be the sudo account. + /// The sudo account. pub sudo_account: Option, /// Set to `true` if no fees should be charged. pub disable_fees: Option, } +/// The session keys of the validator. +#[derive(Clone, Debug, Serialize, Deserialize)] +pub struct ValidatorKeys { + // Validator's account. + pub account_id: AccountId, + /// Hexadecimal String representation of the session keys. + pub session_keys: String, +} + +/// A set of identities that will be created at initialization. +#[derive(Clone, Debug, Serialize, Deserialize)] +pub struct InitialIdentities { + /// All indentities that will be created at genesis. + pub identities: Vec, + /// The polymesh commmittee coordinator account. + pub polymesh_coordinator: AccountId, + /// The upgrade commmittee coordinator account. + pub upgrade_coordinator: AccountId, + /// The technical commmittee coordinator account. + pub technical_coordinator: AccountId, +} + /// Data needed for creating identities at initialization. #[derive(Clone, Debug, Serialize, Deserialize)] pub struct InitialIdentity { diff --git a/src/command.rs b/src/command.rs index 8808302..60879d9 100644 --- a/src/command.rs +++ b/src/command.rs @@ -62,7 +62,8 @@ impl SubstrateCli for Cli { fn load_spec(&self, id: &str) -> std::result::Result, String> { if let Some(file_path) = id.strip_prefix("config_path:") { let custom_chain_config = read_chain_config(file_path)?; - return Ok(Box::new(chain_spec::develop::custom_config( + + return Ok(Box::new(chain_spec::custom::chain_spec( custom_chain_config, ))); } From 1bac445d0b0515bac1a3b1dc3ecb7610dee91fde Mon Sep 17 00:00:00 2001 From: Henrique Nogara Date: Sat, 14 Dec 2024 16:59:15 -0300 Subject: [PATCH 5/6] Decode from hex; Add sample config --- src/chain_spec.rs | 25 +++++++------- src/data/chain_config.json | 69 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 12 deletions(-) create mode 100644 src/data/chain_config.json diff --git a/src/chain_spec.rs b/src/chain_spec.rs index 08efcb2..6bcb838 100644 --- a/src/chain_spec.rs +++ b/src/chain_spec.rs @@ -889,6 +889,7 @@ pub mod develop { pub mod custom { use pallet_im_online::sr25519::AuthorityId as OnlineAuthorityId; + use rustc_hex::FromHex; use sp_authority_discovery::AuthorityId as DiscoveryAuthorityId; use sp_core::ByteArray; use sp_runtime::FixedU128; @@ -1155,18 +1156,18 @@ pub mod custom { panic!("Invalid session keys"); } - let grandpa = - pallet_grandpa::AuthorityId::from_slice(validator.session_keys[2..66].as_bytes()) - .expect("Invalid Grandpa session keys"); - let babe = - pallet_babe::AuthorityId::from_slice(validator.session_keys[66..130].as_bytes()) - .expect("Invalid BABE session keys"); - let im_online = - OnlineAuthorityId::from_slice(validator.session_keys[130..194].as_bytes()) - .expect("Invalid Im-Online session keys"); - let authority_discovery = - DiscoveryAuthorityId::from_slice(validator.session_keys[194..258].as_bytes()) - .expect("Invalid Authority session keys"); + let grandpa: Vec = FromHex::from_hex(&validator.session_keys[2..66]).unwrap(); + let grandpa = pallet_grandpa::AuthorityId::from_slice(&grandpa).unwrap(); + + let babe: Vec = FromHex::from_hex(&validator.session_keys[66..130]).unwrap(); + let babe = pallet_babe::AuthorityId::from_slice(&babe).unwrap(); + + let im_online: Vec = FromHex::from_hex(&validator.session_keys[130..194]).unwrap(); + let im_online = OnlineAuthorityId::from_slice(&im_online).unwrap(); + + let auth_discovery: Vec = + FromHex::from_hex(&validator.session_keys[194..258]).unwrap(); + let authority_discovery = DiscoveryAuthorityId::from_slice(&auth_discovery).unwrap(); session_keys.push(( validator.account_id.clone(), diff --git a/src/data/chain_config.json b/src/data/chain_config.json new file mode 100644 index 0000000..47f7ff2 --- /dev/null +++ b/src/data/chain_config.json @@ -0,0 +1,69 @@ +{ + "chain_name": "My Cutom Production Chain", + "chain_id": "My-Chain-Id", + "chain_type": "Live", + "session_keys": [ + { + "account_id": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", + "session_keys": "0x88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0eed43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27dd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27dd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d" + }, + { + "account_id": "5HpG9w8EBLe5XCrbczpwq5TSXvedjrBGCwqxK1iQ7qUsSWFc", + "session_keys": "0xd17c2d7823ebf260fd138f2d7e27d114c0145d968b5ff5006125f2414fadae698eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a488eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a488eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a48" + } + ], + "initial_identities": { + "identities": [ + { + "account_id": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", + "is_validator": true, + "is_cdd_provider": false, + "is_funded": true, + "polymesh_committee_member": true, + "technical_committee_member": true, + "upgrade_committee_member": true + }, + { + "account_id": "5HpG9w8EBLe5XCrbczpwq5TSXvedjrBGCwqxK1iQ7qUsSWFc", + "is_validator": true, + "is_cdd_provider": false, + "is_funded": true, + "polymesh_committee_member": false, + "technical_committee_member": false, + "upgrade_committee_member": false + }, + { + "account_id": "5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y", + "is_validator": false, + "is_cdd_provider": false, + "is_funded": true, + "polymesh_committee_member": false, + "technical_committee_member": false, + "upgrade_committee_member": false + }, + { + "account_id": "5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy", + "is_validator": false, + "is_cdd_provider": false, + "is_funded": true, + "polymesh_committee_member": false, + "technical_committee_member": false, + "upgrade_committee_member": false + }, + { + "account_id": "5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw", + "is_validator": false, + "is_cdd_provider": true, + "is_funded": true, + "polymesh_committee_member": false, + "technical_committee_member": false, + "upgrade_committee_member": false + } + ], + "polymesh_coordinator": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", + "upgrade_coordinator": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", + "technical_coordinator": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" + }, + "sudo_account": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", + "disable_fees": false +} \ No newline at end of file From fe5d9f61c880af740c59a10083be4766881cf993 Mon Sep 17 00:00:00 2001 From: Henrique Nogara Date: Mon, 16 Dec 2024 07:03:53 -0300 Subject: [PATCH 6/6] Revert "Update toml files" This reverts commit 8f330beb91e43b67ed47913fc66f4f4d9e3d64c7. --- Cargo.lock | 470 ++++++++++++++++++++++++------------- Cargo.toml | 376 ++++++++++++++--------------- runtime/develop/Cargo.toml | 4 +- 3 files changed, 492 insertions(+), 358 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 47cc33f..9e2b116 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -516,6 +516,26 @@ dependencies = [ "serde", ] +[[package]] +name = "bindgen" +version = "0.64.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" +dependencies = [ + "bitflags 1.3.2", + "cexpr", + "clang-sys", + "lazy_static", + "lazycell", + "peeking_take_while", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", + "syn 1.0.109", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -732,6 +752,17 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + [[package]] name = "camino" version = "1.1.6" @@ -785,6 +816,15 @@ dependencies = [ "subtle", ] +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + [[package]] name = "cfg-expr" version = "0.10.3" @@ -884,6 +924,17 @@ dependencies = [ "zeroize", ] +[[package]] +name = "clang-sys" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" +dependencies = [ + "glob", + "libc", + "libloading", +] + [[package]] name = "clap" version = "4.4.14" @@ -2011,7 +2062,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", ] @@ -2034,7 +2085,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-support-procedural", @@ -2059,7 +2110,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "Inflector", "array-bytes", @@ -2106,7 +2157,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -2117,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2134,7 +2185,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -2162,7 +2213,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bitflags 1.3.2", "environmental", @@ -2195,7 +2246,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "Inflector", "cfg-expr", @@ -2210,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -2222,7 +2273,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -2232,7 +2283,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "log", @@ -2250,7 +2301,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2265,7 +2316,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2523,6 +2574,12 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + [[package]] name = "globset" version = "0.4.14" @@ -2814,7 +2871,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.13", - "socket2 0.5.5", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -3224,18 +3281,48 @@ dependencies = [ "parking_lot 0.12.1", ] +[[package]] +name = "kvdb-rocksdb" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" +dependencies = [ + "kvdb", + "num_cpus", + "parking_lot 0.12.1", + "regex", + "rocksdb", + "smallvec", +] + [[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +[[package]] +name = "lazycell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + [[package]] name = "libc" version = "0.2.152" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +[[package]] +name = "libloading" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "libm" version = "0.2.8" @@ -3706,6 +3793,21 @@ dependencies = [ "redox_syscall 0.4.1", ] +[[package]] +name = "librocksdb-sys" +version = "0.8.3+7.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "557b255ff04123fcc176162f56ed0c9cd42d8f357cf55b3fabeb60f7413741b3" +dependencies = [ + "bindgen", + "bzip2-sys", + "cc", + "glob", + "libc", + "libz-sys", + "tikv-jemalloc-sys", +] + [[package]] name = "libsecp256k1" version = "0.7.1" @@ -4266,7 +4368,7 @@ dependencies = [ [[package]] name = "node-rpc" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4292,7 +4394,7 @@ dependencies = [ [[package]] name = "node-rpc-runtime-api" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4491,7 +4593,7 @@ dependencies = [ [[package]] name = "pallet-asset" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "arrayvec 0.7.4", "frame-benchmarking", @@ -4511,7 +4613,7 @@ dependencies = [ "polymesh-common-utilities", "polymesh-primitives", "polymesh-primitives-derive", - "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool)", + "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop)", "rustc-hex", "scale-info", "serde", @@ -4529,7 +4631,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -4545,7 +4647,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -4559,7 +4661,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4583,7 +4685,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4608,7 +4710,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4623,7 +4725,7 @@ dependencies = [ [[package]] name = "pallet-base" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4643,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-committee" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4668,7 +4770,7 @@ dependencies = [ [[package]] name = "pallet-compliance-manager" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "either", "frame-benchmarking", @@ -4726,7 +4828,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -4755,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -4768,7 +4870,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -4778,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-corporate-actions" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4811,7 +4913,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4834,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4847,7 +4949,7 @@ dependencies = [ [[package]] name = "pallet-external-agents" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4870,7 +4972,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4893,7 +4995,7 @@ dependencies = [ [[package]] name = "pallet-group" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +5019,7 @@ dependencies = [ [[package]] name = "pallet-group-rpc" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -4938,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-group-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "parity-scale-codec", "polymesh-common-utilities", @@ -4951,7 +5053,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "either", "frame-benchmarking", @@ -4982,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5002,7 +5104,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5019,7 +5121,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -5033,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5056,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-nft" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5078,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -5095,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-permissions" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5112,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-pips" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5130,7 +5232,7 @@ dependencies = [ "polymesh-common-utilities", "polymesh-primitives", "polymesh-primitives-derive", - "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool)", + "polymesh-runtime-common 1.0.0 (git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop)", "rand 0.8.5", "rand_chacha 0.3.1", "scale-info", @@ -5147,7 +5249,7 @@ dependencies = [ [[package]] name = "pallet-portfolio" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5170,7 +5272,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5187,7 +5289,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5207,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee-rpc" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5228,7 +5330,7 @@ dependencies = [ [[package]] name = "pallet-protocol-fee-rpc-runtime-api" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "parity-scale-codec", "polymesh-common-utilities", @@ -5240,7 +5342,7 @@ dependencies = [ [[package]] name = "pallet-relayer" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5257,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5274,7 +5376,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-support", "frame-system", @@ -5295,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-settlement" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5331,7 +5433,7 @@ dependencies = [ [[package]] name = "pallet-statistics" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5357,7 +5459,7 @@ dependencies = [ [[package]] name = "pallet-sto" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5391,7 +5493,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5406,7 +5508,7 @@ dependencies = [ [[package]] name = "pallet-test-utils" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5425,7 +5527,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5443,7 +5545,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-support", "frame-system", @@ -5462,7 +5564,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5487,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5643,6 +5745,12 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "peeking_take_while" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" + [[package]] name = "pem" version = "1.1.1" @@ -5820,7 +5928,7 @@ dependencies = [ [[package]] name = "polymesh-build-tool" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "substrate-wasm-builder", ] @@ -5828,7 +5936,7 @@ dependencies = [ [[package]] name = "polymesh-common-utilities" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5852,7 +5960,7 @@ dependencies = [ [[package]] name = "polymesh-contracts" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5896,7 +6004,7 @@ dependencies = [ [[package]] name = "polymesh-primitives" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "chrono", "either", @@ -5925,7 +6033,7 @@ dependencies = [ [[package]] name = "polymesh-primitives-derive" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "proc-macro2", "quote", @@ -6305,7 +6413,7 @@ dependencies = [ [[package]] name = "polymesh-runtime-common" version = "1.0.0" -source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=cli-tool#1d9764a8507a4210c573baf5f5c23efa8f142a0f" +source = "git+https://github.com/PolymeshAssociation/Polymesh.git?branch=develop#1d9764a8507a4210c573baf5f5c23efa8f142a0f" dependencies = [ "frame-election-provider-support", "frame-support", @@ -6986,6 +7094,16 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "rocksdb" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" +dependencies = [ + "libc", + "librocksdb-sys", +] + [[package]] name = "rpassword" version = "7.3.1" @@ -7218,7 +7336,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "sp-core", @@ -7229,7 +7347,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -7256,7 +7374,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "futures-timer", @@ -7279,7 +7397,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7294,7 +7412,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -7313,7 +7431,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -7324,7 +7442,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "chrono", @@ -7364,7 +7482,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "fnv", "futures", @@ -7390,11 +7508,12 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hash-db", "kvdb", "kvdb-memorydb", + "kvdb-rocksdb", "linked-hash-map", "log", "parity-db", @@ -7415,7 +7534,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -7440,7 +7559,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "fork-tree", @@ -7479,7 +7598,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "jsonrpsee", @@ -7501,7 +7620,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7514,7 +7633,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ahash 0.8.11", "array-bytes", @@ -7554,7 +7673,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "finality-grandpa", "futures", @@ -7574,7 +7693,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -7597,7 +7716,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "lru", "parity-scale-codec", @@ -7621,7 +7740,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -7634,7 +7753,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "sc-allocator", @@ -7647,7 +7766,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "anyhow", "cfg-if", @@ -7665,7 +7784,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ansi_term", "futures", @@ -7680,7 +7799,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "async-trait", @@ -7695,7 +7814,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "async-trait", @@ -7738,7 +7857,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "cid", "futures", @@ -7757,7 +7876,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -7783,7 +7902,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ahash 0.8.11", "futures", @@ -7801,7 +7920,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "futures", @@ -7822,7 +7941,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "async-trait", @@ -7854,7 +7973,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "futures", @@ -7873,7 +7992,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "bytes", @@ -7903,7 +8022,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "libp2p", @@ -7916,7 +8035,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -7925,7 +8044,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "jsonrpsee", @@ -7955,7 +8074,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -7974,7 +8093,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "http", "jsonrpsee", @@ -7989,7 +8108,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "futures", @@ -8015,7 +8134,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "directories", @@ -8081,7 +8200,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "log", "parity-scale-codec", @@ -8092,7 +8211,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "clap", "fs4", @@ -8108,7 +8227,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8127,7 +8246,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "libc", @@ -8146,7 +8265,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "chrono", "futures", @@ -8165,7 +8284,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ansi_term", "atty", @@ -8196,7 +8315,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -8207,7 +8326,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -8234,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -8248,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "backtrace", "futures", @@ -8602,6 +8721,12 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "shlex" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" + [[package]] name = "signal-hook-registry" version = "1.4.1" @@ -8733,7 +8858,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hash-db", "log", @@ -8751,7 +8876,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "blake2", "proc-macro-crate 1.1.3", @@ -8763,7 +8888,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -8776,7 +8901,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "integer-sqrt", "num-traits", @@ -8790,7 +8915,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -8803,7 +8928,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sp-api", @@ -8815,7 +8940,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "futures", "log", @@ -8833,7 +8958,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -8851,7 +8976,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "merlin 2.0.1", @@ -8874,7 +8999,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "finality-grandpa", "log", @@ -8892,7 +9017,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -8904,7 +9029,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -8917,7 +9042,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "array-bytes", "base58", @@ -8960,7 +9085,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "blake2", "byteorder", @@ -8974,7 +9099,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -8985,7 +9110,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -8994,7 +9119,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "proc-macro2", "quote", @@ -9004,7 +9129,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "environmental", "parity-scale-codec", @@ -9015,7 +9140,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9030,7 +9155,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bytes", "ed25519 1.5.3", @@ -9055,7 +9180,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "lazy_static", "sp-core", @@ -9066,7 +9191,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures", @@ -9083,7 +9208,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "thiserror", "zstd", @@ -9092,7 +9217,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9106,7 +9231,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "sp-api", "sp-core", @@ -9116,7 +9241,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "backtrace", "lazy_static", @@ -9126,7 +9251,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "rustc-hash", "serde", @@ -9136,7 +9261,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "either", "hash256-std-hasher", @@ -9158,7 +9283,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9176,7 +9301,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -9188,7 +9313,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9202,7 +9327,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9214,7 +9339,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hash-db", "log", @@ -9234,12 +9359,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9252,7 +9377,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "futures-timer", @@ -9267,7 +9392,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "sp-std", @@ -9279,7 +9404,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "sp-api", "sp-runtime", @@ -9288,7 +9413,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "async-trait", "log", @@ -9304,7 +9429,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ahash 0.8.11", "hash-db", @@ -9327,7 +9452,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9344,7 +9469,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -9355,7 +9480,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9369,7 +9494,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9531,7 +9656,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "platforms", ] @@ -9539,7 +9664,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -9558,7 +9683,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "hyper", "log", @@ -9570,7 +9695,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "jsonrpsee", "log", @@ -9589,7 +9714,7 @@ dependencies = [ [[package]] name = "substrate-validator-set" version = "0.9.42" -source = "git+https://github.com/PolymeshAssociation/substrate-validator-set?branch=cli-tool#5e174db3eae3314e9ea576c4700ea1952cdb1f30" +source = "git+https://github.com/PolymeshAssociation/substrate-validator-set?branch=polymesh-v6-monthly-2023-03#b6badb3e9cdc79ddc0a272a8dcbf800a38ade243" dependencies = [ "frame-benchmarking", "frame-support", @@ -9603,13 +9728,12 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-std", - "substrate-bip39", ] [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=cli-tool#74ef745933703849d756dc16d41d938157d6943a" +source = "git+https://github.com/PolymeshAssociation/polkadot-sdk?branch=polymesh-v6-monthly-2023-03#74ef745933703849d756dc16d41d938157d6943a" dependencies = [ "ansi_term", "build-helper", @@ -9778,6 +9902,16 @@ dependencies = [ "num_cpus", ] +[[package]] +name = "tikv-jemalloc-sys" +version = "0.5.4+5.3.0-patched" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "time" version = "0.3.31" diff --git a/Cargo.toml b/Cargo.toml index a2fe095..40617ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,100 +11,100 @@ path = "src/main.rs" [patch.crates-io] # Path build to use our Substrate version from github. -frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -frame-benchmarking-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -frame-executive = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -frame-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -frame-election-provider-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -frame-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -frame-system-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -frame-system-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-balances = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-contracts = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-contracts-primitives = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-election-provider-multi-phase = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-im-online = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-indices = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-offences = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-preimage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-scheduler = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -pallet-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-basic-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-chain-spec = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-client-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-client-db = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-consensus-babe-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-consensus-epochs = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-executor = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-consensus-grandpa-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-network = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-network-common = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-rpc-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-rpc-spec-v2 = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-service = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-telemetry = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-transaction-pool-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sc-sync-state-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-application-crypto = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-arithmetic = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-blockchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-core = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-externalities = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-inherents = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-io = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-keyring = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-npos-elections = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-offchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-runtime = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-weights = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-runtime-interface = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-state-machine = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-std = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-storage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-tracing = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-transaction-storage-proof = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-trie = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -sp-version = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -substrate-frame-rpc-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -substrate-state-trie-migration-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -substrate-prometheus-endpoint = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -substrate-build-script-utils = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } -substrate-wasm-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool" } +frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-benchmarking-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-executive = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-election-provider-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-system-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +frame-system-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-balances = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-contracts = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-contracts-primitives = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-election-provider-multi-phase = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-im-online = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-indices = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-offences = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-preimage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-scheduler = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +pallet-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-basic-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-chain-spec = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-client-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-client-db = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-consensus-babe-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-consensus-epochs = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-executor = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-consensus-grandpa-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-network = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-network-common = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-rpc-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-rpc-spec-v2 = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-service = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-telemetry = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-transaction-pool-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sc-sync-state-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-application-crypto = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-arithmetic = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-blockchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-core = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-externalities = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-inherents = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-io = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-keyring = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-npos-elections = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-offchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-runtime = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-weights = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-runtime-interface = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-state-machine = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-std = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-storage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-tracing = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-transaction-storage-proof = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-trie = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +sp-version = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +substrate-frame-rpc-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +substrate-state-trie-migration-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +substrate-prometheus-endpoint = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +substrate-build-script-utils = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } +substrate-wasm-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "polymesh-v6-monthly-2023-03" } bulletproofs = { version = "5.0.0", git = "https://github.com/PolymeshAssociation/bulletproofs", branch = "v5.0.0" } #bulletproofs = { path = "../bulletproofs/" } confidential_assets = { git = "https://github.com/PolymeshAssociation/confidential_assets", branch = "main" } #confidential_assets = { path = "../confidential_assets" } -substrate-validator-set = { git = "https://github.com/PolymeshAssociation/substrate-validator-set", branch = "cli-tool" } +substrate-validator-set = { git = "https://github.com/PolymeshAssociation/substrate-validator-set", branch = "polymesh-v6-monthly-2023-03" } [workspace] members = [ @@ -122,94 +122,94 @@ exclude = [ ## Keep common dependencies here. [workspace.dependencies] # Our pallets -pallet-asset = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-balances = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-base = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-committee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-compliance-manager = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-asset = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-balances = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-base = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-committee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-compliance-manager = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } pallet-confidential-asset = { path = "pallets/confidential-asset/", default-features = false } polymesh-host-functions = { path = "host-functions/", default-features = false } -pallet-corporate-actions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-external-agents = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-group = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-identity = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-multisig = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-nft = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-permissions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-pips = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-portfolio = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-protocol-fee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-relayer = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-sto = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-settlement = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-statistics = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-test-utils = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false, features = ["disable_fees"]} -pallet-treasury = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-utility = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-sudo = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -polymesh-contracts = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +pallet-corporate-actions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-external-agents = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-group = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-identity = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-multisig = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-nft = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-permissions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-pips = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-portfolio = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-protocol-fee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-relayer = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-sto = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-settlement = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-statistics = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-test-utils = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false, features = ["disable_fees"]} +pallet-treasury = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-utility = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-sudo = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +polymesh-contracts = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } # Common -polymesh-common-utilities = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +polymesh-common-utilities = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } polymesh-runtime-common = { path = "runtime/common/", default-features = false } -polymesh-primitives = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +polymesh-primitives = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } polymesh-weights = { path = "pallets/weights/", default-features = false } # RPC -node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -node-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-group-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-group-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-protocol-fee-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } -pallet-protocol-fee-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +node-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-group-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-group-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-protocol-fee-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } +pallet-protocol-fee-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } # Build tool -polymesh-build-tool = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "cli-tool", default-features = false } +polymesh-build-tool = { git = "https://github.com/PolymeshAssociation/Polymesh.git", branch = "develop", default-features = false } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } -frame-support = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -frame-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-contracts = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-contracts-primitives = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +frame-support = { version = "4.0.0-dev", default-features = false } +frame-system = { version = "4.0.0-dev", default-features = false } +frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false } +pallet-authority-discovery = { version = "4.0.0-dev", default-features = false } +pallet-authorship = { version = "4.0.0-dev", default-features = false } +pallet-babe = { version = "4.0.0-dev", default-features = false } +pallet-contracts = { version = "4.0.0-dev", default-features = false } +pallet-contracts-primitives = { version = "7.0.0", default-features = false} pallet-executive = { package = "frame-executive", version = "4.0.0-dev", default-features = false } -pallet-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-im-online = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-indices = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-offences = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-preimage = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-scheduler = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -pallet-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +pallet-grandpa = { version = "4.0.0-dev", default-features = false } +pallet-im-online = { version = "4.0.0-dev", default-features = false } +pallet-indices = { version = "4.0.0-dev", default-features = false } +pallet-offences = { version = "4.0.0-dev", default-features = false } +pallet-preimage = { version = "4.0.0-dev", default-features = false } +pallet-insecure-randomness-collective-flip = { version = "4.0.0-dev", default-features = false } +pallet-scheduler = { version = "4.0.0-dev", default-features = false } +pallet-session = { version = "4.0.0-dev", default-features = false } +pallet-timestamp = { version = "4.0.0-dev", default-features = false } scale-info = { version = "2.0", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-api = { version = "4.0.0-dev", default-features = false } sp-arithmetic = { version = "6.0.0", default-features = false } -sp-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-block-builder = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-blockchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-keyring = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-core = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-inherents = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-transaction-storage-proof = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-io = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-offchain = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-runtime = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-runtime-interface = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-timestamp = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-session = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-std = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sp-version = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-authority-discovery = { version = "4.0.0-dev", default-features = false } +sp-block-builder = { version = "4.0.0-dev", default-features = false } +sp-blockchain = { version = "4.0.0-dev", default-features = false } +sp-consensus = { version = "0.10.0-dev", default-features = false } +sp-consensus-babe = { version = "0.10.0-dev", default-features = false } +sp-consensus-slots = { version = "0.10.0-dev", default-features = false } +sp-consensus-grandpa = { version = "4.0.0-dev", default-features = false } +sp-keyring = { version = "7.0.0", default-features = false } +sp-core = { version = "7.0.0", default-features = false } +sp-inherents = { version = "4.0.0-dev", default-features = false } +sp-transaction-storage-proof = { version = "4.0.0-dev", default-features = false } +sp-io = { version = "7.0.0", default-features = false } +sp-offchain = { version = "4.0.0-dev", default-features = false } +sp-runtime = { version = "7.0.0", default-features = false } +sp-runtime-interface = { version = "7.0.0", default-features = false } +sp-timestamp = { version = "4.0.0-dev", default-features = false } +sp-session = { version = "4.0.0-dev", default-features = false } +sp-std = { version = "5.0.0", default-features = false } +sp-transaction-pool = { version = "4.0.0-dev", default-features = false } +sp-version = { version = "5.0.0", default-features = false } # Crypto rand = { version = "0.8", default-features = false } @@ -282,31 +282,31 @@ clap = { version = "4.0.9", features = ["derive"] } rustc-hex = "2.1.0" # Substrate client deps. -sc-authority-discovery = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-basic-authorship = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-chain-spec = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-client-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-consensus = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-consensus-babe = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-consensus-babe-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-consensus-epochs = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-consensus-slots = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-consensus-grandpa = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-consensus-grandpa-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-executor = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-network = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-network-common = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-rpc-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-rpc-spec-v2 = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-service = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-telemetry = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-transaction-pool = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-sync-state-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -substrate-state-trie-migration-rpc = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sc-authority-discovery = "0.10.0-dev" +sc-basic-authorship = "0.10.0-dev" +sc-chain-spec = "4.0.0-dev" +sc-cli = { version = "0.10.0-dev" } +sc-client-api = "4.0.0-dev" +sc-consensus = "0.10.0-dev" +sc-consensus-babe = "0.10.0-dev" +sc-consensus-babe-rpc = "0.10.0-dev" +sc-consensus-epochs = { version = "0.10.0-dev" } +sc-consensus-slots = "0.10.0-dev" +sc-consensus-grandpa = "0.10.0-dev" +sc-consensus-grandpa-rpc = "0.10.0-dev" +sc-executor = { version = "0.10.0-dev" } +sc-network = "0.10.0-dev" +sc-network-common = { version = "0.10.0-dev" } +sc-rpc = "4.0.0-dev" +sc-rpc-api = "0.10.0-dev" +sc-rpc-spec-v2 = "0.10.0-dev" +sc-service = { version = "0.10.0-dev" } +sc-telemetry = "4.0.0-dev" +sc-transaction-pool = "4.0.0-dev" +sc-sync-state-rpc = { version = "0.10.0-dev" } +sc-transaction-pool-api = { version = "4.0.0-dev" } +substrate-frame-rpc-system = { version = "4.0.0-dev" } +substrate-state-trie-migration-rpc = { version = "4.0.0-dev" } # Substrate codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } @@ -326,7 +326,7 @@ sp-consensus = { workspace = true } sp-consensus-babe = { workspace = true } sp-consensus-slots = { workspace = true } sp-keyring = { workspace = true } -sp-keystore = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +sp-keystore = { version = "0.13.0" } sp-core = { workspace = true } sp-inherents = { workspace = true } sp-transaction-storage-proof = { workspace = true } @@ -337,8 +337,8 @@ sp-session = { workspace = true } sp-transaction-pool = { workspace = true } # These dependencies are used for runtime benchmarking -frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false } +frame-benchmarking = "4.0.0-dev" +frame-benchmarking-cli = "4.0.0-dev" [build-dependencies] substrate-build-script-utils = { version = "3.0.0" } diff --git a/runtime/develop/Cargo.toml b/runtime/develop/Cargo.toml index fd3a546..26d3b35 100644 --- a/runtime/develop/Cargo.toml +++ b/runtime/develop/Cargo.toml @@ -91,8 +91,8 @@ pallet-protocol-fee-rpc-runtime-api = { workspace = true, default-features = fal node-rpc-runtime-api = { workspace = true, default-features = false } # Used for runtime benchmarking -frame-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false, optional = true } -frame-system-benchmarking = { git = "https://github.com/PolymeshAssociation/polkadot-sdk", branch = "cli-tool", default-features = false, optional = true } +frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true } +frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true } hex-literal = { version = "0.3.1", optional = true } # Import 'getrandom' here to enable feature `getrandom/js` for wasm builds.