diff --git a/Cargo.toml b/Cargo.toml index 3f45924..660c247 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,11 +5,7 @@ homepage = "https://metaquity.xyz/" repository = "https://github.com/Metaquity-Network/metaquity-network-node" [workspace] -members = [ - "node", - "runtime/mainnet", - "runtime/devnet", -] +members = ["node", "runtime/mainnet", "runtime/devnet"] resolver = "2" @@ -20,4 +16,4 @@ panic = "unwind" # SBP-M1 review: Cumulus (https://github.com/paritytech/polkadot-sdk/tree/master/cumulus) is the parachain SDK which should be used instead to build a parachain, with a starter template available at https://github.com/substrate-developer-hub/substrate-parachain-template # SBP-M1 review: finally, the Extended Parachain Template (https://github.com/paritytech/extended-parachain-template) builds on the above and is recommended for a new parachain project. -# SBP-M1 review: add integration tests to ensure runtime functionality works as expected. Suggested tools include zombienet, parachains-integration-tests, chopsticks as applicable. \ No newline at end of file +# SBP-M1 review: add integration tests to ensure runtime functionality works as expected. Suggested tools include zombienet, parachains-integration-tests, chopsticks as applicable. diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 5701abc..9563afb 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -12,25 +12,24 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = {package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"]} -scale-info = {version = "2.9.0", default-features = false, features = ["derive"]} +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ + "derive", +] } +scale-info = { version = "2.9.0", default-features = false, features = [ + "derive", +] } # Substrate -frame-support = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0"} -sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0"} -sp-std = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0"} +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -parachains-common = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0", default-features = false} -polkadot-primitives = {git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0", default-features = false} +parachains-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0", default-features = false } [features] -default = [ - "std", -] -std = [ - "frame-support/std", - "sp-runtime/std", -] +default = ["std"] +std = ["frame-support/std", "sp-runtime/std"] runtime-benchmarks = [ "frame-support/runtime-benchmarks", diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 3bb0226..7dd204d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -10,5 +10,5 @@ components = [ "rustc", "rustfmt", ] -targets = [ "wasm32-unknown-unknown" ] +targets = ["wasm32-unknown-unknown"] profile = "minimal"