From 101876f9228b9ff1ffa6613169818acebfb69d92 Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 16 Jul 2022 09:30:11 +0800 Subject: [PATCH 1/5] update to v0.9.26 --- Cargo.dev.toml | 130 +++++++++++++++--------------- asset-registry/Cargo.toml | 38 ++++----- auction/Cargo.toml | 12 +-- authority/Cargo.toml | 16 ++-- bencher/Cargo.toml | 24 +++--- bencher/test/Cargo.toml | 12 +-- benchmarking/Cargo.toml | 18 ++--- currencies/Cargo.toml | 14 ++-- gradually-update/Cargo.toml | 12 +-- nft/Cargo.toml | 12 +-- oracle/Cargo.toml | 14 ++-- oracle/rpc/Cargo.toml | 6 +- oracle/rpc/runtime-api/Cargo.toml | 4 +- payments/Cargo.toml | 14 ++-- rewards/Cargo.toml | 14 ++-- tokens/Cargo.toml | 16 ++-- tokens/rpc/Cargo.toml | 12 +-- tokens/rpc/runtime-api/Cargo.toml | 6 +- traits/Cargo.toml | 10 +-- unknown-tokens/Cargo.toml | 14 ++-- utilities/Cargo.toml | 10 +-- vesting/Cargo.toml | 14 ++-- weight-meter/Cargo.toml | 14 ++-- xcm-support/Cargo.toml | 10 +-- xcm/Cargo.toml | 12 +-- xtokens/Cargo.toml | 40 ++++----- 26 files changed, 249 insertions(+), 249 deletions(-) diff --git a/Cargo.dev.toml b/Cargo.dev.toml index 96899b9e5..b078ffc64 100644 --- a/Cargo.dev.toml +++ b/Cargo.dev.toml @@ -32,72 +32,72 @@ resolver = "2" split-debuginfo = "unpacked" [patch.'https://github.com/paritytech/substrate'] -frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -frame-support = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -frame-system = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-session = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sc-executor = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sc-utils = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-api = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-core = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-io = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-panic-handler = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-session = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-staking = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-std = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-storage = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-tasks = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-trie = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-version = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "3348e144f0a2b39ce08bd8e3b976c42fe0c990b9" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +frame-support = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +frame-system = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-session = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sc-executor = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sc-utils = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-api = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-core = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-io = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-panic-handler = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-session = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-staking = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-std = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-storage = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-tasks = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-trie = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-version = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } [patch.'https://github.com/paritytech/cumulus'] -cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "390042a01940a0a4d0b28eb196a2e9251f3cec33" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "390042a01940a0a4d0b28eb196a2e9251f3cec33" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "390042a01940a0a4d0b28eb196a2e9251f3cec33" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "390042a01940a0a4d0b28eb196a2e9251f3cec33" } -parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "390042a01940a0a4d0b28eb196a2e9251f3cec33" } +cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } +parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } [patch.'https://github.com/paritytech/polkadot'] -pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -xcm = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } -xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "5174e9ae75b6843ecc460dfaa15f5851230638b8" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +xcm = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } +xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } diff --git a/asset-registry/Cargo.toml b/asset-registry/Cargo.toml index fc1f2eb82..1d64c75df 100644 --- a/asset-registry/Cargo.toml +++ b/asset-registry/Cargo.toml @@ -13,37 +13,37 @@ serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } # substrate -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } # polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } # orml orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } [dev-dependencies] # substrate -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } # cumulus -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } -xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } +xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } # orml orml-tokens = { path = "../tokens" } diff --git a/auction/Cargo.toml b/auction/Cargo.toml index e5b835d47..e80b3ce0f 100644 --- a/auction/Cargo.toml +++ b/auction/Cargo.toml @@ -12,16 +12,16 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/authority/Cargo.toml b/authority/Cargo.toml index 7e40fd40f..6b68c2b29 100644 --- a/authority/Cargo.toml +++ b/authority/Cargo.toml @@ -12,16 +12,16 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/bencher/Cargo.toml b/bencher/Cargo.toml index 3520ead87..fe6a66850 100644 --- a/bencher/Cargo.toml +++ b/bencher/Cargo.toml @@ -26,18 +26,18 @@ hash-db = { version = "0.15.2", default-features = false, optional = true } bencher-procedural = { path = "bencher-procedural", default-features = false } codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime-interface = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.25" } -sc-executor = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["wasmtime"], optional = true , branch = "polkadot-v0.9.25" } -sc-executor-common = { git = "https://github.com/paritytech/substrate", optional = true , branch = "polkadot-v0.9.25" } -sc-client-db = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["rocksdb"], optional = true , branch = "polkadot-v0.9.25" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.25" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-externalities = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-storage = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime-interface = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.26" } +sc-executor = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["wasmtime"], optional = true , branch = "polkadot-v0.9.26" } +sc-executor-common = { git = "https://github.com/paritytech/substrate", optional = true , branch = "polkadot-v0.9.26" } +sc-client-db = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["rocksdb"], optional = true , branch = "polkadot-v0.9.26" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.26" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-externalities = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-storage = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/bencher/test/Cargo.toml b/bencher/test/Cargo.toml index 5e65a1542..9e0da998d 100644 --- a/bencher/test/Cargo.toml +++ b/bencher/test/Cargo.toml @@ -15,16 +15,16 @@ required-features = ["bench"] serde = { version = "1.0.136", optional = true } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-bencher = { path = "..", default-features = false } orml-weight-meter = { path = "../../weight-meter", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/benchmarking/Cargo.toml b/benchmarking/Cargo.toml index 083406d51..4d1ba3893 100644 --- a/benchmarking/Cargo.toml +++ b/benchmarking/Cargo.toml @@ -14,19 +14,19 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } log = { version = "0.4.17", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime-interface = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-storage = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime-interface = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-storage = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [dev-dependencies] hex-literal = "0.3.4" -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = [ "std" ] diff --git a/currencies/Cargo.toml b/currencies/Cargo.toml index dd995002c..b494ecd8a 100644 --- a/currencies/Cargo.toml +++ b/currencies/Cargo.toml @@ -12,18 +12,18 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } orml_tokens = { package = "orml-tokens", path = "../tokens", version = "0.4.1-dev" } diff --git a/gradually-update/Cargo.toml b/gradually-update/Cargo.toml index ffa808437..387e24995 100644 --- a/gradually-update/Cargo.toml +++ b/gradually-update/Cargo.toml @@ -12,12 +12,12 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/nft/Cargo.toml b/nft/Cargo.toml index d2a9ec872..6975ea725 100644 --- a/nft/Cargo.toml +++ b/nft/Cargo.toml @@ -12,14 +12,14 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/oracle/Cargo.toml b/oracle/Cargo.toml index c5f92759c..8a8d794ff 100644 --- a/oracle/Cargo.toml +++ b/oracle/Cargo.toml @@ -12,18 +12,18 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/oracle/rpc/Cargo.toml b/oracle/rpc/Cargo.toml index d7c69d066..98b15f6dd 100644 --- a/oracle/rpc/Cargo.toml +++ b/oracle/rpc/Cargo.toml @@ -10,8 +10,8 @@ description = "RPC module for orml-oracle." codec = { package = "parity-scale-codec", version = "3.0.0" } jsonrpsee = { version = "0.14.0", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } orml-oracle-rpc-runtime-api = { path = "runtime-api", version = "0.4.1-dev" } diff --git a/oracle/rpc/runtime-api/Cargo.toml b/oracle/rpc/runtime-api/Cargo.toml index 2fe4f8801..8d008e2ff 100644 --- a/oracle/rpc/runtime-api/Cargo.toml +++ b/oracle/rpc/runtime-api/Cargo.toml @@ -8,8 +8,8 @@ description = "Runtime API module for orml-oracle-rpc." [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/payments/Cargo.toml b/payments/Cargo.toml index 1c0287b21..5dd67ab52 100644 --- a/payments/Cargo.toml +++ b/payments/Cargo.toml @@ -10,22 +10,22 @@ description = "Allows users to post escrow payment on-chain" readme = "README.md" [dependencies] -parity-scale-codec = { version = "3.1.2", default-features = false, features = ["max-encoded-len"] } +parity-scale-codec = { version = "3.1.5", default-features = false, features = ["max-encoded-len"] } log = { version = "0.4.17", default-features = false } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-traits = {path = "../traits", version = "0.4.1-dev", default-features = false } [dev-dependencies] serde = { version = "1.0.136" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-tokens = { path = "../tokens", version = "0.4.1-dev", default-features = false } diff --git a/rewards/Cargo.toml b/rewards/Cargo.toml index f7ab8153d..81beb1427 100644 --- a/rewards/Cargo.toml +++ b/rewards/Cargo.toml @@ -12,17 +12,17 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/tokens/Cargo.toml b/tokens/Cargo.toml index 88a1cbe71..667a6fc93 100644 --- a/tokens/Cargo.toml +++ b/tokens/Cargo.toml @@ -12,18 +12,18 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/tokens/rpc/Cargo.toml b/tokens/rpc/Cargo.toml index bfb92b8ae..7bde87dfb 100644 --- a/tokens/rpc/Cargo.toml +++ b/tokens/rpc/Cargo.toml @@ -10,11 +10,11 @@ edition = "2021" codec = { package = "parity-scale-codec", version = "3.0.0" } jsonrpsee = { version = "0.14.0", features = ["server", "macros"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } orml-tokens-rpc-runtime-api = { version = "0.4.1-dev", path = "./runtime-api" } diff --git a/tokens/rpc/runtime-api/Cargo.toml b/tokens/rpc/runtime-api/Cargo.toml index 0a1cebab3..36d7bf1a8 100644 --- a/tokens/rpc/runtime-api/Cargo.toml +++ b/tokens/rpc/runtime-api/Cargo.toml @@ -8,9 +8,9 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } orml-tokens = { default-features = false, path = "../../../tokens" } [features] diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 4fd52308f..dacd40046 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -14,12 +14,12 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = num-traits = { version = "0.2.14", default-features = false } impl-trait-for-tuples = "0.2.2" -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-features = false } diff --git a/unknown-tokens/Cargo.toml b/unknown-tokens/Cargo.toml index d8a28e96e..e9cb412ef 100644 --- a/unknown-tokens/Cargo.toml +++ b/unknown-tokens/Cargo.toml @@ -12,18 +12,18 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } orml-xcm-support = { path = "../xcm-support", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/utilities/Cargo.toml b/utilities/Cargo.toml index 742ea0d8a..5231c8595 100644 --- a/utilities/Cargo.toml +++ b/utilities/Cargo.toml @@ -12,15 +12,15 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [dev-dependencies] serde_json = "1.0.64" -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/vesting/Cargo.toml b/vesting/Cargo.toml index 2cd49a691..5a0fdf4a6 100644 --- a/vesting/Cargo.toml +++ b/vesting/Cargo.toml @@ -12,15 +12,15 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/weight-meter/Cargo.toml b/weight-meter/Cargo.toml index a57c6307a..d67a1ee2a 100644 --- a/weight-meter/Cargo.toml +++ b/weight-meter/Cargo.toml @@ -10,19 +10,19 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } weight-meter-procedural = { path = "weight-meter-procedural", default-features = false } [dev-dependencies] serde = { version = "1.0.136" } codec = { package = "parity-scale-codec", version = "3.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } [features] default = ["std"] diff --git a/xcm-support/Cargo.toml b/xcm-support/Cargo.toml index 24228853a..215eb53a3 100644 --- a/xcm-support/Cargo.toml +++ b/xcm-support/Cargo.toml @@ -10,12 +10,12 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } diff --git a/xcm/Cargo.toml b/xcm/Cargo.toml index b646efd02..4f3efc375 100644 --- a/xcm/Cargo.toml +++ b/xcm/Cargo.toml @@ -11,15 +11,15 @@ edition = "2021" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } [dev-dependencies] -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } [features] default = ["std"] diff --git a/xtokens/Cargo.toml b/xtokens/Cargo.toml index a85c6d3e4..35fa2d71d 100644 --- a/xtokens/Cargo.toml +++ b/xtokens/Cargo.toml @@ -13,19 +13,19 @@ serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } # substrate -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" } # cumulus -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false , branch = "polkadot-v0.9.25" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false , branch = "polkadot-v0.9.26" } # polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.25" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" } # orml orml-xcm-support = { path = "../xcm-support", default-features = false } @@ -33,21 +33,21 @@ orml-traits = { path = "../traits", default-features = false} [dev-dependencies] # substrate -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" } # cumulus -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.25" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.26" } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } -xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.25" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } +xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26" } # orml orml-tokens = { path = "../tokens" } From 86df6d12541ee1e4bc1fc0467b069e6b1f8cdbb7 Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 16 Jul 2022 09:54:35 +0800 Subject: [PATCH 2/5] fix build and test --- asset-registry/src/mock/mod.rs | 12 ++++++------ asset-registry/src/tests.rs | 16 ++++++++-------- authority/src/lib.rs | 3 ++- payments/src/lib.rs | 1 - tokens/src/lib.rs | 1 - traits/src/currency.rs | 2 -- traits/src/location.rs | 18 +++++++++++++++--- xcm-support/src/tests.rs | 5 ++++- xtokens/src/lib.rs | 1 - xtokens/src/mock/mod.rs | 14 +++++++------- xtokens/src/mock/para_relative_view.rs | 14 +++++++------- xtokens/src/tests.rs | 2 +- 12 files changed, 50 insertions(+), 39 deletions(-) diff --git a/asset-registry/src/mock/mod.rs b/asset-registry/src/mock/mod.rs index bd190e7ab..ec58cbb6a 100644 --- a/asset-registry/src/mock/mod.rs +++ b/asset-registry/src/mock/mod.rs @@ -42,12 +42,12 @@ impl Convert> for CurrencyIdConvert { fn convert(id: CurrencyId) -> Option { match id { CurrencyId::R => Some(Parent.into()), - CurrencyId::A => Some((Parent, Parachain(1), GeneralKey("A".into())).into()), - CurrencyId::A1 => Some((Parent, Parachain(1), GeneralKey("A1".into())).into()), - CurrencyId::B => Some((Parent, Parachain(2), GeneralKey("B".into())).into()), - CurrencyId::B1 => Some((Parent, Parachain(2), GeneralKey("B1".into())).into()), - CurrencyId::B2 => Some((Parent, Parachain(2), GeneralKey("B2".into())).into()), - CurrencyId::D => Some((Parent, Parachain(4), GeneralKey("D".into())).into()), + CurrencyId::A => Some((Parent, Parachain(1), GeneralKey(b"A".to_vec().try_into().unwrap())).into()), + CurrencyId::A1 => Some((Parent, Parachain(1), GeneralKey(b"A1".to_vec().try_into().unwrap())).into()), + CurrencyId::B => Some((Parent, Parachain(2), GeneralKey(b"B".to_vec().try_into().unwrap())).into()), + CurrencyId::B1 => Some((Parent, Parachain(2), GeneralKey(b"B1".to_vec().try_into().unwrap())).into()), + CurrencyId::B2 => Some((Parent, Parachain(2), GeneralKey(b"B2".to_vec().try_into().unwrap())).into()), + CurrencyId::D => Some((Parent, Parachain(4), GeneralKey(b"D".to_vec().try_into().unwrap())).into()), CurrencyId::RegisteredAsset(id) => AssetRegistry::multilocation(&id).unwrap_or_default(), } } diff --git a/asset-registry/src/tests.rs b/asset-registry/src/tests.rs index d5d958f41..b4f741f86 100644 --- a/asset-registry/src/tests.rs +++ b/asset-registry/src/tests.rs @@ -46,7 +46,7 @@ fn dummy_metadata() -> AssetMetadata< { /// Number of blocks that this call have been delayed. pub delay: BlockNumber, diff --git a/payments/src/lib.rs b/payments/src/lib.rs index 5ac09c6f6..c48be9e97 100644 --- a/payments/src/lib.rs +++ b/payments/src/lib.rs @@ -53,7 +53,6 @@ //! The `PaymentState` enum tracks the possible states that a payment can be in. //! When a payment is 'completed' or 'cancelled' it is removed from storage and //! hence not tracked by a state. -#![allow(deprecated)] // TODO: clean transactional #![cfg_attr(not(feature = "std"), no_std)] pub use pallet::*; diff --git a/tokens/src/lib.rs b/tokens/src/lib.rs index f67ffdae6..06fefa10c 100644 --- a/tokens/src/lib.rs +++ b/tokens/src/lib.rs @@ -37,7 +37,6 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] #![allow(clippy::comparison_chain)] -#![allow(deprecated)] // TODO: clean transactional pub use crate::imbalances::{NegativeImbalance, PositiveImbalance}; diff --git a/traits/src/currency.rs b/traits/src/currency.rs index 49fcaa464..cd0c9d71e 100644 --- a/traits/src/currency.rs +++ b/traits/src/currency.rs @@ -1,5 +1,3 @@ -#![allow(deprecated)] // TODO: clean transactional - use crate::arithmetic; use codec::{Codec, FullCodec, MaxEncodedLen}; pub use frame_support::{ diff --git a/traits/src/location.rs b/traits/src/location.rs index 68676e478..56adeed81 100644 --- a/traits/src/location.rs +++ b/traits/src/location.rs @@ -82,7 +82,13 @@ pub trait RelativeLocations { impl RelativeLocations for MultiLocation { fn sibling_parachain_general_key(para_id: u32, general_key: Vec) -> MultiLocation { - MultiLocation::new(1, X2(Parachain(para_id), GeneralKey(general_key))) + MultiLocation::new( + 1, + X2( + Parachain(para_id), + GeneralKey(general_key.to_vec().try_into().expect("less than length limit; qed")), + ), + ) } } @@ -136,11 +142,17 @@ mod tests { #[test] fn no_reserve_chain_for_absolute_self_for_relative() { assert_eq!( - AbsoluteReserveProvider::reserve(&concrete_fungible(MultiLocation::new(0, X1(GeneralKey("DOT".into()))))), + AbsoluteReserveProvider::reserve(&concrete_fungible(MultiLocation::new( + 0, + X1(GeneralKey(b"DOT".to_vec().try_into().unwrap())) + ))), None ); assert_eq!( - RelativeReserveProvider::reserve(&concrete_fungible(MultiLocation::new(0, X1(GeneralKey("DOT".into()))))), + RelativeReserveProvider::reserve(&concrete_fungible(MultiLocation::new( + 0, + X1(GeneralKey(b"DOT".to_vec().try_into().unwrap())) + ))), Some(MultiLocation::here()) ); } diff --git a/xcm-support/src/tests.rs b/xcm-support/src/tests.rs index 43ac2fe04..0370076b5 100644 --- a/xcm-support/src/tests.rs +++ b/xcm-support/src/tests.rs @@ -74,7 +74,10 @@ fn is_native_concrete_does_not_matches_non_native_currencies() { assert!( >::matches_fungible(&MultiAsset { fun: Fungible(100), - id: Concrete(MultiLocation::new(1, X1(GeneralKey("TokenB".into())))), + id: Concrete(MultiLocation::new( + 1, + X1(GeneralKey(b"TokenB".to_vec().try_into().unwrap())) + )), }) .is_none() ); diff --git a/xtokens/src/lib.rs b/xtokens/src/lib.rs index cb3b41746..6a2cc15ac 100644 --- a/xtokens/src/lib.rs +++ b/xtokens/src/lib.rs @@ -23,7 +23,6 @@ #![allow(clippy::large_enum_variant)] #![allow(clippy::boxed_local)] #![allow(clippy::too_many_arguments)] -#![allow(deprecated)] use frame_support::{ log, diff --git a/xtokens/src/mock/mod.rs b/xtokens/src/mock/mod.rs index 1843e929e..4a128ff11 100644 --- a/xtokens/src/mock/mod.rs +++ b/xtokens/src/mock/mod.rs @@ -47,13 +47,13 @@ impl Convert> for CurrencyIdConvert { fn convert(id: CurrencyId) -> Option { match id { CurrencyId::R => Some(Parent.into()), - CurrencyId::A => Some((Parent, Parachain(1), GeneralKey("A".into())).into()), - CurrencyId::A1 => Some((Parent, Parachain(1), GeneralKey("A1".into())).into()), - CurrencyId::B => Some((Parent, Parachain(2), GeneralKey("B".into())).into()), - CurrencyId::B1 => Some((Parent, Parachain(2), GeneralKey("B1".into())).into()), - CurrencyId::B2 => Some((Parent, Parachain(2), GeneralKey("B2".into())).into()), - CurrencyId::C => Some((Parent, Parachain(3), GeneralKey("C".into())).into()), - CurrencyId::D => Some((Parent, Parachain(4), GeneralKey("D".into())).into()), + CurrencyId::A => Some((Parent, Parachain(1), GeneralKey(b"A".to_vec().try_into().unwrap())).into()), + CurrencyId::A1 => Some((Parent, Parachain(1), GeneralKey(b"A1".to_vec().try_into().unwrap())).into()), + CurrencyId::B => Some((Parent, Parachain(2), GeneralKey(b"B".to_vec().try_into().unwrap())).into()), + CurrencyId::B1 => Some((Parent, Parachain(2), GeneralKey(b"B1".to_vec().try_into().unwrap())).into()), + CurrencyId::B2 => Some((Parent, Parachain(2), GeneralKey(b"B2".to_vec().try_into().unwrap())).into()), + CurrencyId::C => Some((Parent, Parachain(3), GeneralKey(b"C".to_vec().try_into().unwrap())).into()), + CurrencyId::D => Some((Parent, Parachain(4), GeneralKey(b"D".to_vec().try_into().unwrap())).into()), } } } diff --git a/xtokens/src/mock/para_relative_view.rs b/xtokens/src/mock/para_relative_view.rs index 6045a8fe3..275f46b62 100644 --- a/xtokens/src/mock/para_relative_view.rs +++ b/xtokens/src/mock/para_relative_view.rs @@ -222,13 +222,13 @@ impl Convert> for RelativeCurrencyIdConvert { fn convert(id: CurrencyId) -> Option { match id { CurrencyId::R => Some(Parent.into()), - CurrencyId::A => Some((Parent, Parachain(1), GeneralKey("A".into())).into()), - CurrencyId::A1 => Some((Parent, Parachain(1), GeneralKey("A1".into())).into()), - CurrencyId::B => Some((Parent, Parachain(2), GeneralKey("B".into())).into()), - CurrencyId::B1 => Some((Parent, Parachain(2), GeneralKey("B1".into())).into()), - CurrencyId::B2 => Some((Parent, Parachain(2), GeneralKey("B2".into())).into()), - CurrencyId::C => Some((Parent, Parachain(3), GeneralKey("C".into())).into()), - CurrencyId::D => Some(GeneralKey("D".into()).into()), + CurrencyId::A => Some((Parent, Parachain(1), GeneralKey(b"A".to_vec().try_into().unwrap())).into()), + CurrencyId::A1 => Some((Parent, Parachain(1), GeneralKey(b"A1".to_vec().try_into().unwrap())).into()), + CurrencyId::B => Some((Parent, Parachain(2), GeneralKey(b"B".to_vec().try_into().unwrap())).into()), + CurrencyId::B1 => Some((Parent, Parachain(2), GeneralKey(b"B1".to_vec().try_into().unwrap())).into()), + CurrencyId::B2 => Some((Parent, Parachain(2), GeneralKey(b"B2".to_vec().try_into().unwrap())).into()), + CurrencyId::C => Some((Parent, Parachain(3), GeneralKey(b"C".to_vec().try_into().unwrap())).into()), + CurrencyId::D => Some(GeneralKey(b"D".to_vec().try_into().unwrap()).into()), } } } diff --git a/xtokens/src/tests.rs b/xtokens/src/tests.rs index 51831365e..583bf2399 100644 --- a/xtokens/src/tests.rs +++ b/xtokens/src/tests.rs @@ -938,7 +938,7 @@ fn transfer_no_reserve_assets_fails() { assert_noop!( ParaXTokens::transfer_multiasset( Some(ALICE).into(), - Box::new((X1(GeneralKey("B".into())).into(), 100).into()), + Box::new((X1(GeneralKey(b"B".to_vec().try_into().unwrap())).into(), 100).into()), Box::new( ( Parent, From ef92753afb718a859a7084e94c24892c26596df1 Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 16 Jul 2022 15:52:25 +0800 Subject: [PATCH 3/5] change GeneralKey parameter type to WeakNBoundedVec --- traits/src/location.rs | 13 ++++--------- traits/src/multi_asset.rs | 11 ++++++++--- xcm-support/src/tests.rs | 26 ++++++++++++++++---------- xtokens/src/tests.rs | 4 ++-- 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/traits/src/location.rs b/traits/src/location.rs index 56adeed81..14a3fe67f 100644 --- a/traits/src/location.rs +++ b/traits/src/location.rs @@ -1,3 +1,4 @@ +use sp_runtime::{traits::ConstU32, WeakBoundedVec}; use sp_std::prelude::*; use xcm::latest::prelude::*; @@ -77,18 +78,12 @@ impl Reserve for RelativeReserveProvider { } pub trait RelativeLocations { - fn sibling_parachain_general_key(para_id: u32, general_key: Vec) -> MultiLocation; + fn sibling_parachain_general_key(para_id: u32, general_key: WeakBoundedVec>) -> MultiLocation; } impl RelativeLocations for MultiLocation { - fn sibling_parachain_general_key(para_id: u32, general_key: Vec) -> MultiLocation { - MultiLocation::new( - 1, - X2( - Parachain(para_id), - GeneralKey(general_key.to_vec().try_into().expect("less than length limit; qed")), - ), - ) + fn sibling_parachain_general_key(para_id: u32, general_key: WeakBoundedVec>) -> MultiLocation { + MultiLocation::new(1, X2(Parachain(para_id), GeneralKey(general_key))) } } diff --git a/traits/src/multi_asset.rs b/traits/src/multi_asset.rs index a4a10d636..d7c7dd807 100644 --- a/traits/src/multi_asset.rs +++ b/traits/src/multi_asset.rs @@ -1,15 +1,20 @@ -use sp_std::prelude::*; +use sp_runtime::{traits::ConstU32, WeakBoundedVec}; use xcm::latest::prelude::*; use crate::location::RelativeLocations; pub trait ConcreteFungibleAsset { - fn sibling_parachain_asset(para_id: u32, general_key: Vec, amount: u128) -> MultiAsset; + fn sibling_parachain_asset(para_id: u32, general_key: WeakBoundedVec>, amount: u128) + -> MultiAsset; fn parent_asset(amount: u128) -> MultiAsset; } impl ConcreteFungibleAsset for MultiAsset { - fn sibling_parachain_asset(para_id: u32, general_key: Vec, amount: u128) -> MultiAsset { + fn sibling_parachain_asset( + para_id: u32, + general_key: WeakBoundedVec>, + amount: u128, + ) -> MultiAsset { ( MultiLocation::sibling_parachain_general_key(para_id, general_key), amount, diff --git a/xcm-support/src/tests.rs b/xcm-support/src/tests.rs index 0370076b5..5189ecd83 100644 --- a/xcm-support/src/tests.rs +++ b/xcm-support/src/tests.rs @@ -17,16 +17,14 @@ pub struct CurrencyIdConvert; impl Convert> for CurrencyIdConvert { fn convert(l: MultiLocation) -> Option { use TestCurrencyId::*; - let token_a: Vec = "TokenA".into(); - let token_b: Vec = "TokenB".into(); if l == MultiLocation::parent() { return Some(RelayChainToken); } - if l == MultiLocation::sibling_parachain_general_key(1, token_a) { + if l == MultiLocation::sibling_parachain_general_key(1, b"TokenA".to_vec().try_into().unwrap()) { return Some(TokenA); } - if l == MultiLocation::sibling_parachain_general_key(2, token_b) { + if l == MultiLocation::sibling_parachain_general_key(2, b"TokenB".to_vec().try_into().unwrap()) { return Some(TokenB); } None @@ -43,12 +41,20 @@ fn is_native_concrete_matches_native_currencies() { ); assert_eq!( - MatchesCurrencyId::matches_fungible(&MultiAsset::sibling_parachain_asset(1, "TokenA".into(), 100)), + MatchesCurrencyId::matches_fungible(&MultiAsset::sibling_parachain_asset( + 1, + b"TokenA".to_vec().try_into().unwrap(), + 100 + )), Some(100), ); assert_eq!( - MatchesCurrencyId::matches_fungible(&MultiAsset::sibling_parachain_asset(2, "TokenB".into(), 100)), + MatchesCurrencyId::matches_fungible(&MultiAsset::sibling_parachain_asset( + 2, + b"TokenB".to_vec().try_into().unwrap(), + 100 + )), Some(100), ); } @@ -58,7 +64,7 @@ fn is_native_concrete_does_not_matches_non_native_currencies() { assert!( >::matches_fungible(&MultiAsset::sibling_parachain_asset( 2, - "TokenC".into(), + b"TokenC".to_vec().try_into().unwrap(), 100 )) .is_none() @@ -66,7 +72,7 @@ fn is_native_concrete_does_not_matches_non_native_currencies() { assert!( >::matches_fungible(&MultiAsset::sibling_parachain_asset( 1, - "TokenB".into(), + b"TokenB".to_vec().try_into().unwrap(), 100 )) .is_none() @@ -93,11 +99,11 @@ fn multi_native_asset() { &Parent.into() )); assert!(MultiNativeAsset::::filter_asset_location( - &MultiAsset::sibling_parachain_asset(1, "TokenA".into(), 100), + &MultiAsset::sibling_parachain_asset(1, b"TokenA".to_vec().try_into().unwrap(), 100), &MultiLocation::new(1, X1(Parachain(1))), )); assert!(!MultiNativeAsset::::filter_asset_location( - &MultiAsset::sibling_parachain_asset(1, "TokenA".into(), 100), + &MultiAsset::sibling_parachain_asset(1, b"TokenA".to_vec().try_into().unwrap(), 100), &MultiLocation::parent(), )); } diff --git a/xtokens/src/tests.rs b/xtokens/src/tests.rs index 583bf2399..4ce08e2a1 100644 --- a/xtokens/src/tests.rs +++ b/xtokens/src/tests.rs @@ -965,7 +965,7 @@ fn transfer_to_self_chain_fails() { assert_noop!( ParaXTokens::transfer_multiasset( Some(ALICE).into(), - Box::new(MultiAsset::sibling_parachain_asset(1, "A".into(), 100).into()), + Box::new(MultiAsset::sibling_parachain_asset(1, b"A".to_vec().try_into().unwrap(), 100).into()), Box::new( MultiLocation::new( 1, @@ -994,7 +994,7 @@ fn transfer_to_invalid_dest_fails() { assert_noop!( ParaXTokens::transfer_multiasset( Some(ALICE).into(), - Box::new(MultiAsset::sibling_parachain_asset(1, "A".into(), 100).into()), + Box::new(MultiAsset::sibling_parachain_asset(1, b"A".to_vec().try_into().unwrap(), 100).into()), Box::new( MultiLocation::new( 0, From e58fef26339b06df2779088ba8e5d171db535e2d Mon Sep 17 00:00:00 2001 From: zqh Date: Sun, 17 Jul 2022 16:27:34 +0800 Subject: [PATCH 4/5] update cumulus --- Cargo.dev.toml | 10 +++++----- bencher/bencher-procedural/Cargo.toml | 2 +- weight-meter/weight-meter-procedural/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.dev.toml b/Cargo.dev.toml index b078ffc64..052ad6975 100644 --- a/Cargo.dev.toml +++ b/Cargo.dev.toml @@ -85,11 +85,11 @@ sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161 sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" } [patch.'https://github.com/paritytech/cumulus'] -cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } -parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "57f4dfdb036cf26ea7913bde57be3248d80ac428" } +cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "e43b8b878a6fd0ca8b5e88d19822c4d777d3c677" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "e43b8b878a6fd0ca8b5e88d19822c4d777d3c677" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "e43b8b878a6fd0ca8b5e88d19822c4d777d3c677" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "e43b8b878a6fd0ca8b5e88d19822c4d777d3c677" } +parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "e43b8b878a6fd0ca8b5e88d19822c4d777d3c677" } [patch.'https://github.com/paritytech/polkadot'] pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "d8785970175dce344f2a6ad1cd88297529a6dd59" } diff --git a/bencher/bencher-procedural/Cargo.toml b/bencher/bencher-procedural/Cargo.toml index cd91a74b1..4dc7534e1 100644 --- a/bencher/bencher-procedural/Cargo.toml +++ b/bencher/bencher-procedural/Cargo.toml @@ -10,7 +10,7 @@ proc-macro = true [dependencies] proc-macro2 = "1.0.40" -quote = "1.0.18" +quote = "1.0.20" syn = { version = "1.0.98", features = ["full"] } [features] diff --git a/weight-meter/weight-meter-procedural/Cargo.toml b/weight-meter/weight-meter-procedural/Cargo.toml index ec802c04d..697fae79f 100644 --- a/weight-meter/weight-meter-procedural/Cargo.toml +++ b/weight-meter/weight-meter-procedural/Cargo.toml @@ -10,7 +10,7 @@ proc-macro = true [dependencies] proc-macro2 = "1.0.40" -quote = "1.0.18" +quote = "1.0.20" syn = { version = "1.0.98", features = ["full"] } [features] From 33dbc5e35305d0cf5937c896dae8655ca7da95d8 Mon Sep 17 00:00:00 2001 From: zqh Date: Sun, 17 Jul 2022 22:41:18 +0800 Subject: [PATCH 5/5] clear_prefix replace remove_prefix --- oracle/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/oracle/src/lib.rs b/oracle/src/lib.rs index ee9099d76..fced2ea67 100644 --- a/oracle/src/lib.rs +++ b/oracle/src/lib.rs @@ -231,8 +231,7 @@ impl, I: 'static> ChangeMembers for Pallet { fn change_members_sorted(_incoming: &[T::AccountId], outgoing: &[T::AccountId], _new: &[T::AccountId]) { // remove values for removed in outgoing { - #[allow(deprecated)] - RawValues::::remove_prefix(removed, None); + let _ = RawValues::::clear_prefix(removed, u32::MAX, None); } }