From 77aeced1fb0f9d9b426b8529af0e4832028cff83 Mon Sep 17 00:00:00 2001 From: Xiliang Chen <xlchen1291@gmail.com> Date: Tue, 8 Jun 2021 15:42:33 +1200 Subject: [PATCH] update deps (#515) --- Cargo.dev.toml | 124 +++++++++++++++++++-------------------- currencies/src/mock.rs | 2 + vesting/src/mock.rs | 2 + weight-meter/src/mock.rs | 2 + 4 files changed, 68 insertions(+), 62 deletions(-) diff --git a/Cargo.dev.toml b/Cargo.dev.toml index bc91c08..26b4472 100644 --- a/Cargo.dev.toml +++ b/Cargo.dev.toml @@ -30,72 +30,72 @@ resolver = "2" split-debuginfo = "unpacked" [patch.'https://github.com/paritytech/substrate'] -frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -frame-support = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -frame-system = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -max-encoded-len = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -max-encoded-len-derive = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-session = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sc-executor = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-allocator = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-api = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-core = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-io = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-npos-elections-compact = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-panic-handler = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-session = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-staking = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-std = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-storage = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-tasks = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-trie = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-version = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "ea5d3570673d125dfe0b7da33b345c3c13195380" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +frame-support = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +frame-system = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +max-encoded-len = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +max-encoded-len-derive = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-session = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sc-executor = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-allocator = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-api = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-core = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-io = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-npos-elections-compact = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-panic-handler = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-session = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-staking = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-std = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-storage = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-tasks = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-trie = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-version = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "e98aca335f066d84d7a5cbabf280392f39e1cc99" } # [patch.'https://github.com/paritytech/cumulus'] -# cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "95d81d499927e508769690fc43a480f00ddd131e" } -# cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "95d81d499927e508769690fc43a480f00ddd131e" } -# parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "95d81d499927e508769690fc43a480f00ddd131e" } -# cumulus-pallet-xcm-handler = { git = "https://github.com/paritytech//cumulus", rev = "95d81d499927e508769690fc43a480f00ddd131e" } +# cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "794bc23de46e252a5a5551e1fa5d13a73ebada42" } +# cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "794bc23de46e252a5a5551e1fa5d13a73ebada42" } +# parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "794bc23de46e252a5a5551e1fa5d13a73ebada42" } +# cumulus-pallet-xcm-handler = { git = "https://github.com/paritytech//cumulus", rev = "794bc23de46e252a5a5551e1fa5d13a73ebada42" } # [patch.'https://github.com/paritytech/polkadot'] -# xcm = { git = "https://github.com/paritytech//polkadot", rev = "aa386760948574af4078c59decf558d16efe15e2" } -# xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "aa386760948574af4078c59decf558d16efe15e2" } -# xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "aa386760948574af4078c59decf558d16efe15e2" } -# polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "aa386760948574af4078c59decf558d16efe15e2" } -# polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "aa386760948574af4078c59decf558d16efe15e2" } -# polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "aa386760948574af4078c59decf558d16efe15e2" } -# polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "aa386760948574af4078c59decf558d16efe15e2" } +# xcm = { git = "https://github.com/paritytech//polkadot", rev = "82aa404ca3a53814a278c032967d17e44b765b46" } +# xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "82aa404ca3a53814a278c032967d17e44b765b46" } +# xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "82aa404ca3a53814a278c032967d17e44b765b46" } +# polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "82aa404ca3a53814a278c032967d17e44b765b46" } +# polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "82aa404ca3a53814a278c032967d17e44b765b46" } +# polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "82aa404ca3a53814a278c032967d17e44b765b46" } +# polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "82aa404ca3a53814a278c032967d17e44b765b46" } # [patch.'https://github.com/shaunxw/xcm-simulator'] # xcm-simulator = { git = "https://github.com/shaunxw//xcm-simulator", rev = "c52bd64a41a51d08bd5a1e27f32c47419b41f3e5" } diff --git a/currencies/src/mock.rs b/currencies/src/mock.rs index cefdb68..f0a51c9 100644 --- a/currencies/src/mock.rs +++ b/currencies/src/mock.rs @@ -59,6 +59,8 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ExistentialDeposit; type AccountStore = frame_system::Pallet<Runtime>; type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = [u8; 8]; type WeightInfo = (); } diff --git a/vesting/src/mock.rs b/vesting/src/mock.rs index c804d02..3793798 100644 --- a/vesting/src/mock.rs +++ b/vesting/src/mock.rs @@ -55,6 +55,8 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ExistentialDeposit; type AccountStore = frame_system::Pallet<Runtime>; type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = [u8; 8]; type WeightInfo = (); } diff --git a/weight-meter/src/mock.rs b/weight-meter/src/mock.rs index ecc10e7..bce1f08 100644 --- a/weight-meter/src/mock.rs +++ b/weight-meter/src/mock.rs @@ -181,6 +181,8 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ExistentialDeposit; type AccountStore = frame_system::Pallet<Runtime>; type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = [u8; 8]; type WeightInfo = (); } -- GitLab