Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc authored Jun 5, 2021
1 parent 6862e1c commit 6eb8234
Show file tree
Hide file tree
Showing 22 changed files with 189 additions and 176 deletions.
100 changes: 51 additions & 49 deletions Cargo.dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,55 +30,57 @@ resolver = "2"
split-debuginfo = "unpacked"

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

# [patch.'https://github.com/paritytech/cumulus']
# cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "95d81d499927e508769690fc43a480f00ddd131e" }
Expand Down
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.3", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }

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

[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.3", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }

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

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

[features]
default = ["std"]
Expand Down
18 changes: 9 additions & 9 deletions bencher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ linregress = { version = "0.4.0", optional = true }
serde = { version = "1.0.119", optional = true, features = ['derive'] }
serde_json = {version = "1.0.64", optional = true }
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"], default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false, optional = true }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false, features = ["wasmtime"], optional = true }
sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", optional = true }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false, features = ["with-kvdb-rocksdb"], optional = true }
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false, optional = true }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false, features = ["wasmtime"], optional = true }
sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", optional = true }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false, features = ["with-kvdb-rocksdb"], optional = true }
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.4", default-features = false }

[features]
default = ["std"]
Expand Down
Loading

0 comments on commit 6eb8234

Please sign in to comment.