Skip to content

Commit 1db07de

Browse files
committed
Patch tricks.
1 parent 45e803c commit 1db07de

File tree

3 files changed

+74
-24
lines changed

3 files changed

+74
-24
lines changed

Cargo.dev.toml

+68-19
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,74 @@ members = [
1313
"rewards",
1414
"nft",
1515
"xcm-support",
16-
"xtokens"
16+
"xtokens",
1717
]
1818

1919
[patch.crates-io]
20-
frame-benchmarking = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
21-
frame-support = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
22-
frame-system = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
23-
pallet-balances = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
24-
pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
25-
pallet-scheduler = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
26-
pallet-treasury = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
27-
sp-api = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
28-
sp-application-crypto = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
29-
sp-arithmetic = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
30-
sp-core = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
31-
sp-inherents = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
32-
sp-io = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
33-
sp-runtime = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
34-
sp-runtime-interface = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
35-
sp-std = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
36-
sp-trie = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
37-
sp-version = { git = "https://github.com/paritytech/substrate.git", rev = "b7712fed2c58a898f7706e16861d7109c8f585a5" }
20+
frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
21+
frame-support = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
22+
frame-system = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
23+
pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
24+
pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
25+
pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
26+
pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
27+
sp-api = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
28+
sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
29+
sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
30+
sp-core = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
31+
sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
32+
sp-io = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
33+
sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
34+
sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
35+
sp-std = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
36+
sp-trie = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
37+
sp-version = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
38+
sp-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
39+
sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
40+
sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
41+
sc-executor = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
42+
sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
43+
sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
44+
frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
45+
frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
46+
frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
47+
sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
48+
sp-storage = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
49+
50+
[patch."https://github.com/paritytech/substrate"]
51+
frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
52+
frame-support = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
53+
frame-system = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
54+
pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
55+
pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
56+
pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
57+
pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
58+
sp-api = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
59+
sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
60+
sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
61+
sp-core = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
62+
sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
63+
sp-io = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
64+
sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
65+
sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
66+
sp-std = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
67+
sp-trie = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
68+
sp-version = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
69+
sp-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
70+
sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
71+
sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
72+
sc-executor = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
73+
sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
74+
sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
75+
frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
76+
frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
77+
frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
78+
sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
79+
sp-storage = { git = "https://github.com/paritytech//substrate", rev = "f884296f7436916909025f8b43c4bbf3e60e4c60" }
80+
81+
[patch."https://github.com/paritytech/polkadot"]
82+
xcm = { git = "https://github.com/paritytech//polkadot", rev = "550d84a8fccb491130160bd16a6b6a4657b7090a" }
83+
xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "550d84a8fccb491130160bd16a6b6a4657b7090a" }
84+
85+
[patch."https://github.com/paritytech/cumulus"]
86+
cumulus-primitives = { git = "https://github.com/paritytech//cumulus", rev = "05bcb211330ee51d097bebaecb45bd7848807f88" }

xcm-support/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ codec = { package = "parity-scale-codec", version = "1.3.5", default-features =
1313
sp-std = { version = "2.0.0", default-features = false }
1414
sp-runtime = { version = "2.0.0", default-features = false }
1515
frame-support = { version = "2.0.0", default-features = false }
16-
xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
17-
xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
16+
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false }
17+
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false }
1818

1919
orml-traits = { path = "../traits", version = "0.3.3-dev", default-features = false }
2020

xtokens/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "orml-xtokens"
33
description = "Crosschain token transfer"
4-
repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/tokens"
4+
repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/xtokens"
55
license = "Apache-2.0"
66
version = "0.3.3-dev"
77
authors = ["Acala Developers"]
@@ -20,9 +20,9 @@ frame-system = { version = "2.0.0", default-features = false }
2020
orml-utilities = { path = "../utilities", version = "0.3.3-dev", default-features = false }
2121
orml-xcm-support = { path = "../xcm-support", version = "0.3.3-dev", default-features = false }
2222

23-
cumulus-primitives = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false }
23+
cumulus-primitives = { git = "https://github.com/paritytech/cumulus", default-features = false }
2424

25-
xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
25+
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false }
2626

2727
[features]
2828
default = ["std"]
@@ -37,4 +37,5 @@ std = [
3737
"orml-utilities/std",
3838
'orml-xcm-support/std',
3939
"cumulus-primitives/std",
40+
"xcm/std",
4041
]

0 commit comments

Comments
 (0)