Skip to content

Commit

Permalink
Autoformat toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Oct 16, 2023
1 parent 60126d3 commit 9c5c67c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 21 deletions.
8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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.
# SBP-M1 review: add integration tests to ensure runtime functionality works as expected. Suggested tools include zombienet, parachains-integration-tests, chopsticks as applicable.
27 changes: 13 additions & 14 deletions runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ components = [
"rustc",
"rustfmt",
]
targets = [ "wasm32-unknown-unknown" ]
targets = ["wasm32-unknown-unknown"]
profile = "minimal"

0 comments on commit 9c5c67c

Please sign in to comment.