Skip to content

Use polkadot-0.9.2 deps. #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 55 additions & 56 deletions Cargo.dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,55 +30,54 @@ resolver = "2"
split-debuginfo = "unpacked"

[patch.'https://github.com/paritytech/substrate']
frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
frame-support = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
frame-system = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-session = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-api = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-core = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-io = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-std = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-trie = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-version = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-staking = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-storage = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-panic-handler = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-npos-elections-compact = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-allocator = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sc-executor = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-tasks = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-session = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "3f110196163b5ec03bac5ee188d60bedf3ebd91d" }
frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
frame-support = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
frame-system = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-session = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-api = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-core = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-io = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-std = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-trie = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-version = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-staking = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-storage = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-panic-handler = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-npos-elections-compact = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-allocator = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sc-executor = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-tasks = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-session = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }
sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "1d7f6e12c651d776fc0dc1adefd007bb60f60b63" }

# [patch.'https://github.com/paritytech/cumulus']
# cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "95d81d499927e508769690fc43a480f00ddd131e" }
Expand All @@ -87,13 +86,13 @@ sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev =
# cumulus-pallet-xcm-handler = { git = "https://github.com/paritytech//cumulus", rev = "95d81d499927e508769690fc43a480f00ddd131e" }

# [patch.'https://github.com/paritytech/polkadot']
# xcm = { git = "https://github.com/paritytech//polkadot", rev = "d2fb288389ae3b0689c1c84f977bde532129e658" }
# xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "d2fb288389ae3b0689c1c84f977bde532129e658" }
# xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "d2fb288389ae3b0689c1c84f977bde532129e658" }
# polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "d2fb288389ae3b0689c1c84f977bde532129e658" }
# polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "d2fb288389ae3b0689c1c84f977bde532129e658" }
# polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "d2fb288389ae3b0689c1c84f977bde532129e658" }
# polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "d2fb288389ae3b0689c1c84f977bde532129e658" }
# xcm = { git = "https://github.com/paritytech//polkadot", rev = "f36bb820120e7ed460071acbdd512850348ae901" }
# xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "f36bb820120e7ed460071acbdd512850348ae901" }
# xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "f36bb820120e7ed460071acbdd512850348ae901" }
# polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "f36bb820120e7ed460071acbdd512850348ae901" }
# polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "f36bb820120e7ed460071acbdd512850348ae901" }
# polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "f36bb820120e7ed460071acbdd512850348ae901" }
# polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "f36bb820120e7ed460071acbdd512850348ae901" }

# [patch.'https://github.com/shaunxw/xcm-simulator']
# xcm-simulator = { git = "https://github.com/shaunxw//xcm-simulator", rev = "c52bd64a41a51d08bd5a1e27f32c47419b41f3e5" }
12 changes: 6 additions & 6 deletions auction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ edition = "2018"
[dependencies]
serde = { version = "1.0.124", optional = true }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }

frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }
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.1" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2" }

[features]
default = ["std"]
Expand Down
16 changes: 8 additions & 8 deletions authority/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ edition = "2018"
[dependencies]
serde = { version = "1.0.124", optional = true }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }

frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2", default-features = false }

[dev-dependencies]
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1" }
pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2" }
pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.2" }

[features]
default = ["std"]
Expand Down
6 changes: 1 addition & 5 deletions authority/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

use super::*;
use codec::{Decode, Encode};
use frame_support::{
parameter_types,
traits::{OnFinalize, OnInitialize},
weights::Weight,
};
use frame_support::{parameter_types, weights::Weight};
use frame_system::{ensure_root, ensure_signed, EnsureRoot};
use sp_core::H256;
use sp_runtime::{
Expand Down
8 changes: 4 additions & 4 deletions authority/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fn schedule_dispatch_at_work() {
assert!(System::events().iter().any(|record| record.event == event));

run_to_block(2);
let event = mock::Event::pallet_scheduler(pallet_scheduler::RawEvent::Dispatched(
let event = mock::Event::pallet_scheduler(pallet_scheduler::Event::<Runtime>::Dispatched(
(2, 0),
Some([1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()),
Ok(()),
Expand All @@ -103,7 +103,7 @@ fn schedule_dispatch_at_work() {
assert!(System::events().iter().any(|record| record.event == event));

run_to_block(3);
let event = mock::Event::pallet_scheduler(pallet_scheduler::RawEvent::Dispatched(
let event = mock::Event::pallet_scheduler(pallet_scheduler::Event::<Runtime>::Dispatched(
(3, 0),
Some([0, 0, 2, 0, 0, 0].to_vec()),
Ok(()),
Expand Down Expand Up @@ -143,7 +143,7 @@ fn schedule_dispatch_after_work() {
assert!(System::events().iter().any(|record| record.event == event));

run_to_block(2);
let event = mock::Event::pallet_scheduler(pallet_scheduler::RawEvent::Dispatched(
let event = mock::Event::pallet_scheduler(pallet_scheduler::Event::<Runtime>::Dispatched(
(2, 0),
Some([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()),
Ok(()),
Expand All @@ -162,7 +162,7 @@ fn schedule_dispatch_after_work() {
assert!(System::events().iter().any(|record| record.event == event));

run_to_block(3);
let event = mock::Event::pallet_scheduler(pallet_scheduler::RawEvent::Dispatched(
let event = mock::Event::pallet_scheduler(pallet_scheduler::Event::<Runtime>::Dispatched(
(3, 0),
Some([0, 0, 2, 0, 0, 0].to_vec()),
Ok(()),
Expand Down
Loading