Skip to content

Commit 22815a7

Browse files
committed
change: Rearrange crates by feature
Signed-off-by: Nikolaos Dymitriadis <[email protected]>
1 parent 03f6aac commit 22815a7

File tree

196 files changed

+84
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+84
-61
lines changed

Cargo.toml

+84-61
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,18 @@ members = [
44
"node/runtime",
55
"toolkit/cli/commands",
66
"toolkit/cli/node-commands",
7-
"toolkit/cli/smart-contracts-commands",
8-
"toolkit/client/consensus/aura",
9-
"toolkit/pallets/block-production-log",
10-
"toolkit/pallets/partner-chains-session",
11-
"toolkit/pallets/sidechain",
12-
"toolkit/pallets/sidechain/rpc",
13-
"toolkit/pallets/session-validator-management",
14-
"toolkit/pallets/session-validator-management/benchmarking",
15-
"toolkit/pallets/session-validator-management/rpc",
16-
"toolkit/primitives/consensus/aura",
17-
"toolkit/primitives/block-production-log",
18-
"toolkit/primitives/domain",
19-
"toolkit/primitives/selection",
20-
"toolkit/primitives/sidechain-block-search",
21-
"toolkit/primitives/sidechain-slots",
22-
"toolkit/primitives/authority-selection-inherents",
7+
"toolkit/smart-contracts/commands",
8+
"substrate-extensions/aura/consensus",
9+
"toolkit/block-production-log/pallet",
10+
"substrate-extensions/partner-chains-session",
11+
"toolkit/committee-selection/pallet",
12+
"toolkit/committee-selection/pallet/benchmarking",
13+
"toolkit/committee-selection/rpc",
14+
"substrate-extensions/aura/primitives",
15+
"toolkit/block-production-log/primitives",
16+
"toolkit/sidechain/domain",
17+
"toolkit/committee-selection/selection",
18+
"toolkit/committee-selection/authority-selection-inherents",
2319
"toolkit/mainchain-follower/main-chain-follower-cli",
2420
"toolkit/mainchain-follower/db-sync-follower",
2521
"toolkit/mainchain-follower/mock",
@@ -28,19 +24,23 @@ members = [
2824
"toolkit/utils/plutus/plutus-datum-derive",
2925
"toolkit/utils/ogmios-client",
3026
"toolkit/utils/time-source",
31-
"toolkit/primitives/sidechain-mc-hash",
32-
"toolkit/primitives/session-validator-management",
33-
"toolkit/primitives/session-validator-management/query",
34-
"toolkit/primitives/sidechain",
27+
"toolkit/sidechain/sidechain-mc-hash",
28+
"toolkit/sidechain/pallet",
29+
"toolkit/sidechain/rpc",
30+
"toolkit/sidechain/sidechain-block-search",
31+
"toolkit/sidechain/sidechain-slots",
32+
"toolkit/sidechain/primitives",
33+
"toolkit/committee-selection/primitives",
34+
"toolkit/committee-selection/query",
3535
"toolkit/partner-chains-cli",
36-
"toolkit/pallets/native-token-management",
37-
"toolkit/primitives/native-token-management",
38-
"toolkit/offchain",
39-
"toolkit/primitives/plutus-data",
40-
"toolkit/pallets/address-associations",
41-
"toolkit/pallets/block-participation",
42-
"toolkit/primitives/block-participation",
43-
"toolkit/primitives/block-producer-metadata",
36+
"toolkit/native-token-management/pallet",
37+
"toolkit/native-token-management/primitives",
38+
"toolkit/smart-contracts/offchain",
39+
"toolkit/smart-contracts/plutus-data",
40+
"toolkit/address-associations/pallet",
41+
"toolkit/block-participation/pallet",
42+
"toolkit/block-participation/primitives",
43+
"toolkit/block-producer-metadata/primitives",
4444
]
4545
resolver = "2"
4646

@@ -198,42 +198,65 @@ substrate-wasm-builder = { default-features = false, git = "https://github.com/p
198198
raw-scripts = { git = "https://github.com/input-output-hk/partner-chains-smart-contracts.git", tag = "v7.0.2" }
199199

200200
# local dependencies
201-
sidechain-runtime = { path = "node/runtime" }
202-
pallet-block-production-log = { path = "toolkit/pallets/block-production-log", default-features = false }
203-
pallet-sidechain = { path = "toolkit/pallets/sidechain", default-features = false }
204-
pallet-sidechain-rpc = { path = "toolkit/pallets/sidechain/rpc", default-features = false }
205-
sp-session-validator-management = { default-features = false, path = "toolkit/primitives/session-validator-management" }
206-
sp-session-validator-management-query = { default-features = false, path = "toolkit/primitives/session-validator-management/query" }
207-
pallet-session-validator-management = { default-features = false, path = "toolkit/pallets/session-validator-management" }
208-
pallet-session-validator-management-benchmarking = { default-features = false, path = "toolkit/pallets/session-validator-management/benchmarking" }
209-
pallet-session-validator-management-rpc = { path = "toolkit/pallets/session-validator-management/rpc" }
210-
ogmios-client = { path = "toolkit/utils/ogmios-client", default-features = false }
211-
sp-block-production-log = { path = "toolkit/primitives/block-production-log", default-features = false }
212-
selection = { path = "toolkit/primitives/selection", default-features = false }
213-
sidechain-domain = { path = "toolkit/primitives/domain", default-features = false }
214-
sidechain-block-search = { path = "toolkit/primitives/sidechain-block-search", default-features = false }
215-
db-sync-follower = { path = "toolkit/mainchain-follower/db-sync-follower" }
216-
main-chain-follower-mock = { path = "toolkit/mainchain-follower/mock", default-features = false }
201+
202+
# utils
217203
plutus = { path = "toolkit/utils/plutus", default-features = false }
218204
plutus-datum-derive = { default-features = false, path = "toolkit/utils/plutus/plutus-datum-derive" }
219205
byte-string-derive = { default-features = false, path = "toolkit/utils/byte-string-derivation" }
220-
sidechain-slots = { path = "toolkit/primitives/sidechain-slots", default-features = false }
206+
ogmios-client = { path = "toolkit/utils/ogmios-client", default-features = false }
207+
time-source = { path = "toolkit/utils/time-source" }
208+
209+
# smart contracts
210+
partner-chains-plutus-data = { path = "toolkit/smart-contracts/plutus-data", default-features = false }
211+
partner-chains-cardano-offchain = { path = "toolkit/smart-contracts/offchain", default-features = false }
212+
partner-chains-smart-contracts-commands = { path = "toolkit/smart-contracts/commands", default-features = false }
213+
214+
221215
cli-commands = { path = "toolkit/cli/commands" }
222216
partner-chains-node-commands = { path = "toolkit/cli/node-commands" }
223-
time-source = { path = "toolkit/utils/time-source" }
224-
sidechain-mc-hash = { path = "toolkit/primitives/sidechain-mc-hash", default-features = false }
225-
authority-selection-inherents = { path = "toolkit/primitives/authority-selection-inherents", default-features = false }
226-
sp-sidechain = { path = "toolkit/primitives/sidechain", default-features = false }
227-
pallet-native-token-management = { path = "toolkit/pallets/native-token-management", default-features = false }
228-
sp-native-token-management = { path = "toolkit/primitives/native-token-management", default-features = false }
229-
sc-partner-chains-consensus-aura = { path = "toolkit/client/consensus/aura", default-features = false }
230-
sp-partner-chains-consensus-aura = { path = "toolkit/primitives/consensus/aura", default-features = false }
231-
pallet-partner-chains-session = { path = "toolkit/pallets/partner-chains-session", default-features = false }
232-
partner-chains-cardano-offchain = { path = "toolkit/offchain", default-features = false }
233217
partner-chains-cli = { path = "toolkit/partner-chains-cli", default-features = false }
234-
partner-chains-plutus-data = { path = "toolkit/primitives/plutus-data", default-features = false }
235-
partner-chains-smart-contracts-commands = { path = "toolkit/cli/smart-contracts-commands", default-features = false }
236-
pallet-address-associations = { path = "toolkit/pallets/address-associations", default-features = false }
237-
pallet-block-participation = { path = "toolkit/pallets/block-participation", default-features = false }
238-
sp-block-participation = { path = "toolkit/primitives/block-participation", default-features = false }
239-
sp-block-producer-metadata = { path = "toolkit/primitives/block-producer-metadata", default-features = false }
218+
219+
pallet-address-associations = { path = "toolkit/address-associations/pallet", default-features = false }
220+
221+
# sidechain core
222+
sidechain-domain = { path = "toolkit/sidechain/domain", default-features = false }
223+
sidechain-block-search = { path = "toolkit/sidechain/sidechain-block-search", default-features = false }
224+
sidechain-slots = { path = "toolkit/sidechain/sidechain-slots", default-features = false }
225+
sidechain-mc-hash = { path = "toolkit/sidechain/sidechain-mc-hash", default-features = false }
226+
sp-sidechain = { path = "toolkit/sidechain/primitives", default-features = false }
227+
pallet-sidechain = { path = "toolkit/sidechain/pallet", default-features = false }
228+
pallet-sidechain-rpc = { path = "toolkit/sidechain/rpc", default-features = false }
229+
230+
# committee selection
231+
selection = { path = "toolkit/committee-selection/selection", default-features = false }
232+
sp-session-validator-management = { default-features = false, path = "toolkit/committee-selection/primitives" }
233+
sp-session-validator-management-query = { default-features = false, path = "toolkit/committee-selection/query" }
234+
pallet-session-validator-management = { default-features = false, path = "toolkit/committee-selection/pallet" }
235+
pallet-session-validator-management-benchmarking = { default-features = false, path = "toolkit/committee-selection/pallet/benchmarking" }
236+
pallet-session-validator-management-rpc = { path = "toolkit/committee-selection/rpc" }
237+
authority-selection-inherents = { path = "toolkit/committee-selection/authority-selection-inherents", default-features = false }
238+
239+
# substrate extensions
240+
sc-partner-chains-consensus-aura = { path = "substrate-extensions/aura/consensus", default-features = false }
241+
sp-partner-chains-consensus-aura = { path = "substrate-extensions/aura/primitives", default-features = false }
242+
pallet-partner-chains-session = { path = "substrate-extensions/partner-chains-session", default-features = false }
243+
244+
# native token management
245+
pallet-native-token-management = { path = "toolkit/native-token-management/pallet", default-features = false }
246+
sp-native-token-management = { path = "toolkit/native-token-management/primitives", default-features = false }
247+
248+
# block production and rewards
249+
pallet-block-production-log = { path = "toolkit/block-production-log/pallet", default-features = false }
250+
sp-block-production-log = { path = "toolkit/block-production-log/primitives", default-features = false }
251+
pallet-block-participation = { path = "toolkit/block-participation/pallet", default-features = false }
252+
sp-block-participation = { path = "toolkit/block-participation/primitives", default-features = false }
253+
254+
# block producer metadata
255+
sp-block-producer-metadata = { path = "toolkit/block-producer-metadata/primitives", default-features = false }
256+
257+
# main chain follower
258+
db-sync-follower = { path = "toolkit/mainchain-follower/db-sync-follower" }
259+
main-chain-follower-mock = { path = "toolkit/mainchain-follower/mock", default-features = false }
260+
261+
# demo node
262+
sidechain-runtime = { path = "node/runtime" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)