Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor chains code in subdirectories #789

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 23 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
[workspace]
members = [
"chains/container-chains/nodes/*",
"chains/container-chains/runtime-templates/*",
"chains/orchestrator-paras/node",
"chains/orchestrator-paras/runtime/*",
"chains/orchestrator-relays/client/*",
"chains/orchestrator-relays/node/*",
"chains/orchestrator-relays/runtime/dancelight",
"chains/orchestrator-relays/runtime/dancelight/constants",
"client/*",
"container-chains/nodes/*",
"container-chains/runtime-templates/*",
"node",
"pallets/*",
"pallets/collator-assignment/runtime-api",
"pallets/registrar/runtime-api",
"primitives/*",
"runtime/dancebox",
"runtime/flashbox",
"runtime/relay-encoder",
"solo-chains/client/*",
"solo-chains/node/*",
"solo-chains/runtime/dancelight",
"solo-chains/runtime/dancelight/constants",
]
resolver = "2"

Expand Down Expand Up @@ -78,26 +76,29 @@ pallet-stream-payment-runtime-api = { path = "pallets/stream-payment/runtime-api
pallet-xcm-core-buyer = { path = "pallets/xcm-core-buyer", default-features = false }
pallet-xcm-core-buyer-runtime-api = { path = "pallets/xcm-core-buyer/runtime-api", default-features = false }

container-chain-template-frontier-runtime = { path = "container-chains/runtime-templates/frontier", default-features = false }
container-chain-template-simple-runtime = { path = "container-chains/runtime-templates/simple", default-features = false }
container-chain-template-frontier-runtime = { path = "chains/container-chains/runtime-templates/frontier", default-features = false }
container-chain-template-simple-runtime = { path = "chains/container-chains/runtime-templates/simple", default-features = false }

dancebox-runtime = { path = "runtime/dancebox", default-features = false }
flashbox-runtime = { path = "runtime/flashbox", default-features = false }
dancebox-runtime = { path = "chains/orchestrator-paras/runtime/dancebox", default-features = false }
flashbox-runtime = { path = "chains/orchestrator-paras/runtime/flashbox", default-features = false }

tanssi-relay-encoder = { path = "chains/orchestrator-paras/runtime/relay-encoder", default-features = false }
tanssi-runtime-common = { path = "chains/orchestrator-paras/runtime/common", default-features = false }

dancelight-runtime = { path = "chains/orchestrator-relays/runtime/dancelight", default-features = false }
dancelight-runtime-constants = { path = "chains/orchestrator-relays/runtime/dancelight/constants", default-features = false }

tanssi-relay-cli = { path = "chains/orchestrator-relays/client/cli" }
tanssi-relay-service = { path = "chains/orchestrator-relays/node/tanssi-relay-service" }

dancelight-runtime = { path = "solo-chains/runtime/dancelight", default-features = false }
dancelight-runtime-constants = { path = "solo-chains/runtime/dancelight/constants", default-features = false }
ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false }
manual-xcm-rpc = { path = "client/manual-xcm" }
node-common = { path = "client/node-common" }
services-payment-rpc = { path = "client/services-payment" }
stream-payment-rpc = { path = "client/stream-payment" }
tanssi-relay-cli = { path = "solo-chains/client/cli" }
tanssi-relay-encoder = { path = "runtime/relay-encoder", default-features = false }
tanssi-relay-service = { path = "solo-chains/node/tanssi-relay-service" }
tanssi-runtime-common = { path = "runtime/common", default-features = false }
tc-consensus = { path = "client/consensus" }
tc-orchestrator-chain-rpc-interface = { path = "client/orchestrator-chain-rpc-interface" }
tc-service-container-chain = { path = "client/service-container-chain" }

tp-author-noting-inherent = { path = "primitives/author-noting-inherent", default-features = false }
tp-bridge = { path = "primitives/bridge", default-features = false }
tp-maths = { path = "primitives/maths", default-features = false }
Expand Down Expand Up @@ -340,6 +341,7 @@ fc-storage = { git = "https://github.com/moondance-labs/frontier", branch = "tan

# General (wasm)
bounded-collections = { version = "0.1.8", default-features = false }
ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false }
finality-grandpa = { version = "0.16.2", default-features = false }
hex-literal = { version = "0.3.4" }
impl-trait-for-tuples = "0.2.2"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn load_spec(
))
}
"dancebox" => Box::new(RawChainSpec::from_json_bytes(
&include_bytes!("../../specs/dancebox/dancebox-raw-specs.json")[..],
&include_bytes!("../../../../specs/dancebox/dancebox-raw-specs.json")[..],
)?),
"flashbox-dev" | "flashbox_dev" => Box::new(chain_spec::flashbox::development_config(
para_id,
Expand Down Expand Up @@ -169,7 +169,7 @@ impl SubstrateCli for RelayChainCli {
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {
match id {
"westend_moonbase_relay_testnet" => Ok(Box::new(WestendChainSpec::from_json_bytes(
&include_bytes!("../../specs/dancebox/alphanet-relay-raw-specs.json")[..],
&include_bytes!("../../../../specs/dancebox/alphanet-relay-raw-specs.json")[..],
)?)),
// If we are not using a moonbeam-centric pre-baked relay spec, then fall back to the
// Polkadot service to interpret the id.
Expand Down
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.
Loading