Skip to content

Commit e1caed6

Browse files
authored
tidy up deps (#769)
* tidy up deps * update xcm runtiem-benchmarks * fix CI check
1 parent 6417a83 commit e1caed6

20 files changed

Lines changed: 60 additions & 33 deletions

File tree

Cargo.dev.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,18 @@ sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", r
8686

8787
[patch.'https://github.com/paritytech/cumulus']
8888
cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "e5889f1d71975a192c98fa43b1c18c94ffda3bbd" }
89-
parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "e5889f1d71975a192c98fa43b1c18c94ffda3bbd" }
9089
cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "e5889f1d71975a192c98fa43b1c18c94ffda3bbd" }
9190
cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "e5889f1d71975a192c98fa43b1c18c94ffda3bbd" }
9291
cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "e5889f1d71975a192c98fa43b1c18c94ffda3bbd" }
92+
parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "e5889f1d71975a192c98fa43b1c18c94ffda3bbd" }
9393

9494
[patch.'https://github.com/paritytech/polkadot']
95-
xcm = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
96-
xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
97-
xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
9895
pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
9996
polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
10097
polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
10198
polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
10299
polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
100+
xcm = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
101+
xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
102+
xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }
103103
xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0" }

asset-registry/Cargo.toml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,24 @@ edition = "2021"
1111
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] }
14+
15+
# substrate
1416
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1517
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1618
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1719
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
18-
orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false }
20+
21+
# polkadot
22+
pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23", default-features = false }
1923
xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23", default-features = false }
2024
xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23", default-features = false }
2125
xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23", default-features = false }
2226

27+
# orml
28+
orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false }
29+
2330
[dev-dependencies]
31+
# substrate
2432
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2533
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
2634
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
@@ -34,13 +42,10 @@ parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polk
3442

3543
# polkadot
3644
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" }
37-
xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" }
38-
xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" }
39-
xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" }
40-
pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" }
4145
polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23" }
4246
xcm-simulator = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.23"}
4347

48+
# orml
4449
orml-tokens = { path = "../tokens" }
4550
orml-xtokens = { path = "../xtokens" }
4651
orml-xcm = { path = "../xcm" }
@@ -57,15 +62,15 @@ std = [
5762
"frame-support/std",
5863
"frame-system/std",
5964
"orml-traits/std",
65+
"pallet-xcm/std",
6066
"xcm/std",
6167
"xcm-builder/std",
6268
"xcm-executor/std",
6369
]
6470
runtime-benchmarks = [
6571
"frame-support/runtime-benchmarks",
6672
"frame-system/runtime-benchmarks",
67-
73+
"pallet-xcm/runtime-benchmarks",
6874
"xcm-builder/runtime-benchmarks",
69-
"xcm-executor/runtime-benchmarks",
7075
]
7176
try-runtime = ["frame-support/try-runtime"]

auction/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ edition = "2021"
1111
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
1415
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1516
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
16-
1717
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1818
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
19+
1920
orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false }
2021

2122
[dev-dependencies]

authority/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ edition = "2021"
1111
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
1415
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1516
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1617
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
17-
1818
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1919
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2020

bencher/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ serde_json = {version = "1.0.68", optional = true }
2424
hash-db = { version = "0.15.2", default-features = false, optional = true }
2525
bencher-procedural = { path = "bencher-procedural", default-features = false }
2626
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false }
27+
2728
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2829
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2930
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }

benchmarking/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ serde = { version = "1.0.136", optional = true }
1212
paste = "1.0.7"
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
1414
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
15+
log = { version = "0.4.17", default-features = false }
16+
1517
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1618
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1719
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
@@ -20,12 +22,12 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0
2022
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2123
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2224
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
23-
log = { version = "0.4.17", default-features = false }
2425

2526
[dev-dependencies]
26-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
2727
hex-literal = "0.3.4"
2828

29+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
30+
2931
[features]
3032
default = [ "std" ]
3133
std = [

currencies/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ edition = "2021"
1111
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
1415
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1516
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1617
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
17-
1818
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1919
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2020

@@ -24,6 +24,7 @@ orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-feature
2424
[dev-dependencies]
2525
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
2626
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
27+
2728
orml_tokens = { package = "orml-tokens", path = "../tokens", version = "0.4.1-dev" }
2829

2930
[features]

gradually-update/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ edition = "2021"
1111
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] }
14+
1415
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1516
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1617
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }

nft/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ edition = "2021"
1111
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] }
14+
1415
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1516
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
16-
1717
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1818
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1919

oracle/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ edition = "2021"
1111
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
1313
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
1415
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1516
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1617
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
1718
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
18-
1919
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2020
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23", default-features = false }
2121

0 commit comments

Comments
 (0)