Skip to content

Commit 9901ed7

Browse files
committed
group "smart contracts" crates
Signed-off-by: Nikolaos Dymitriadis <[email protected]>
1 parent 53aa420 commit 9901ed7

Some content is hidden

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

58 files changed

+36
-20
lines changed

Cargo.toml

+36-20
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = [
44
"node/runtime",
55
"toolkit/cli/commands",
66
"toolkit/cli/node-commands",
7-
"toolkit/cli/smart-contracts-commands",
7+
"toolkit/smart-contracts/commands",
88
"toolkit/substrate-extensions/aura/consensus",
99
"toolkit/block-production-log/pallet",
1010
"toolkit/substrate-extensions/partner-chains-session",
@@ -36,8 +36,8 @@ members = [
3636
"toolkit/partner-chains-cli",
3737
"toolkit/native-token-management/pallet",
3838
"toolkit/native-token-management/primitives",
39-
"toolkit/offchain",
40-
"toolkit/domain/plutus-data",
39+
"toolkit/smart-contracts/offchain",
40+
"toolkit/smart-contracts/plutus-data",
4141
"toolkit/address-associations/pallet",
4242
"toolkit/block-participation/pallet",
4343
"toolkit/block-participation/primitives",
@@ -198,23 +198,37 @@ 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-
ogmios-client = { path = "toolkit/utils/ogmios-client", default-features = false }
203-
sidechain-domain = { path = "toolkit/domain/sidechain", default-features = false }
204-
db-sync-follower = { path = "toolkit/mainchain-follower/db-sync-follower" }
205-
main-chain-follower-mock = { path = "toolkit/mainchain-follower/mock", default-features = false }
201+
202+
# utils
206203
plutus = { path = "toolkit/utils/plutus", default-features = false }
207204
plutus-datum-derive = { default-features = false, path = "toolkit/utils/plutus/plutus-datum-derive" }
208205
byte-string-derive = { default-features = false, path = "toolkit/utils/byte-string-derivation" }
206+
ogmios-client = { path = "toolkit/utils/ogmios-client", default-features = false }
207+
time-source = { path = "toolkit/utils/time-source" }
208+
209+
# domain
210+
sidechain-domain = { path = "toolkit/domain/sidechain", default-features = false }
211+
212+
# smart contracts
213+
partner-chains-plutus-data = { path = "toolkit/smart-contracts/plutus-data", default-features = false }
214+
partner-chains-cardano-offchain = { path = "toolkit/smart-contracts/offchain", default-features = false }
215+
partner-chains-smart-contracts-commands = { path = "toolkit/smart-contracts/commands", default-features = false }
216+
217+
209218
cli-commands = { path = "toolkit/cli/commands" }
210219
partner-chains-node-commands = { path = "toolkit/cli/node-commands" }
211-
time-source = { path = "toolkit/utils/time-source" }
212-
partner-chains-cardano-offchain = { path = "toolkit/offchain", default-features = false }
213220
partner-chains-cli = { path = "toolkit/partner-chains-cli", default-features = false }
214-
partner-chains-plutus-data = { path = "toolkit/domain/plutus-data", default-features = false }
215-
partner-chains-smart-contracts-commands = { path = "toolkit/cli/smart-contracts-commands", default-features = false }
216221
pallet-address-associations = { path = "toolkit/address-associations/pallet", default-features = false }
217222

223+
# sidechain core
224+
sidechain-block-search = { path = "toolkit/sidechain/sidechain-block-search", default-features = false }
225+
sidechain-slots = { path = "toolkit/sidechain/sidechain-slots", default-features = false }
226+
sidechain-mc-hash = { path = "toolkit/sidechain/sidechain-mc-hash", default-features = false }
227+
sp-sidechain = { path = "toolkit/sidechain/primitives", default-features = false }
228+
pallet-sidechain = { path = "toolkit/sidechain/pallet", default-features = false }
229+
pallet-sidechain-rpc = { path = "toolkit/sidechain/rpc", default-features = false }
230+
231+
# committee selection
218232
selection = { path = "toolkit/committee-selection/selection", default-features = false }
219233
sp-session-validator-management = { default-features = false, path = "toolkit/committee-selection/session-validator-management/primitives" }
220234
sp-session-validator-management-query = { default-features = false, path = "toolkit/committee-selection/session-validator-management/query" }
@@ -224,22 +238,24 @@ pallet-session-validator-management-rpc = { path = "toolkit/committee-selection/
224238
session-manager = { path = "toolkit/committee-selection/session-validator-management/session-manager", default-features = false }
225239
authority-selection-inherents = { path = "toolkit/committee-selection/authority-selection-inherents", default-features = false }
226240

241+
# substrate extensions
227242
sc-partner-chains-consensus-aura = { path = "toolkit/substrate-extensions/aura/consensus", default-features = false }
228243
sp-partner-chains-consensus-aura = { path = "toolkit/substrate-extensions/aura/primitives", default-features = false }
229244
pallet-partner-chains-session = { path = "toolkit/substrate-extensions/partner-chains-session", default-features = false }
230245

231-
sidechain-block-search = { path = "toolkit/sidechain/sidechain-block-search", default-features = false }
232-
sidechain-slots = { path = "toolkit/sidechain/sidechain-slots", default-features = false }
233-
sidechain-mc-hash = { path = "toolkit/sidechain/sidechain-mc-hash", default-features = false }
234-
sp-sidechain = { path = "toolkit/sidechain/primitives", default-features = false }
235-
pallet-sidechain = { path = "toolkit/sidechain/pallet", default-features = false }
236-
pallet-sidechain-rpc = { path = "toolkit/sidechain/rpc", default-features = false }
237-
246+
# native token management
238247
pallet-native-token-management = { path = "toolkit/native-token-management/pallet", default-features = false }
239248
sp-native-token-management = { path = "toolkit/native-token-management/primitives", default-features = false }
240249

250+
# block production and rewards
241251
pallet-block-production-log = { path = "toolkit/block-production-log/pallet", default-features = false }
242252
sp-block-production-log = { path = "toolkit/block-production-log/primitives", default-features = false }
243-
244253
pallet-block-participation = { path = "toolkit/block-participation/pallet", default-features = false }
245254
sp-block-participation = { path = "toolkit/block-participation/primitives", default-features = false }
255+
256+
# main chain follower
257+
db-sync-follower = { path = "toolkit/mainchain-follower/db-sync-follower" }
258+
main-chain-follower-mock = { path = "toolkit/mainchain-follower/mock", default-features = false }
259+
260+
# demo node
261+
sidechain-runtime = { path = "node/runtime" }
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)