From 9fcd29e1fb4bc50491afac8b721c2fb0e180690f Mon Sep 17 00:00:00 2001 From: lemunozm Date: Thu, 23 Nov 2023 07:26:58 +0100 Subject: [PATCH] taplo fmt --- Cargo.toml | 4 +--- runtime/altair/Cargo.toml | 20 ++++++++-------- runtime/centrifuge/Cargo.toml | 20 ++++++++-------- runtime/common/Cargo.toml | 10 ++++---- runtime/development/Cargo.toml | 18 +++++++------- runtime/integration-tests/Cargo.toml | 36 ++++++++++++++-------------- 6 files changed, 53 insertions(+), 55 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 87324aa043..5149b998e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,11 +113,9 @@ parachain-info = { git = "https://github.com/paritytech/cumulus", default-featur # Polkadot pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.43" } - xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.43" } xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.43" } xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.43" } - rococo-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.43" } kusama-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.43" } polkadot-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.43" } @@ -137,7 +135,7 @@ sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-featu sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.43" } sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.43" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.43" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false ,branch = "polkadot-v0.9.43" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.43" } sp-consensus-beefy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.43" } sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.43" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.43" } diff --git a/runtime/altair/Cargo.toml b/runtime/altair/Cargo.toml index 971c0cb8b4..94b46ff52e 100644 --- a/runtime/altair/Cargo.toml +++ b/runtime/altair/Cargo.toml @@ -14,40 +14,40 @@ codec = { package = "parity-scale-codec", workspace = true } getrandom = { workspace = true } hex = { workspace = true } hex-literal = { workspace = true, optional = true } +log = { workspace = true } scale-info = { workspace = true } serde = { workspace = true, optional = true } static_assertions = { workspace = true } -log = { workspace = true } sp-api = { workspace = true } -sp-runtime = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } sp-inherents = { workspace = true } sp-io = { workspace = true } sp-offchain = { workspace = true } +sp-runtime = { workspace = true } sp-session = { workspace = true } sp-std = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } # For benchmarking +frame-executive = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-rpc-runtime-api = { workspace = true } frame-system-benchmarking = { workspace = true, optional = true } # For benchmarking -frame-executive = { workspace = true } -frame-benchmarking = { workspace = true, optional = true } # For benchmarking -frame-try-runtime = { workspace = true, optional = true } # For try-runtime +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } # For try-runtime +cumulus-pallet-session-benchmarking = { workspace = true, optional = true } # For benchmarking cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } -cumulus-pallet-session-benchmarking = { workspace = true, optional = true } # For benchmarking pallet-transaction-payment-rpc-runtime-api = { workspace = true } -polkadot-runtime-common = { workspace = true } polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } @@ -66,12 +66,12 @@ moonbeam-relay-encoder = { workspace = true } cfg-primitives = { workspace = true } cfg-traits = { workspace = true } cfg-types = { workspace = true } -runtime-common = { workspace = true } liquidity-pools-gateway-routers = { workspace = true } +runtime-common = { workspace = true } # Pallet list axelar-gateway-precompile = { workspace = true } -chainbridge = {workspace = true } +chainbridge = { workspace = true } cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } diff --git a/runtime/centrifuge/Cargo.toml b/runtime/centrifuge/Cargo.toml index 0202e04e8a..a08abe9119 100644 --- a/runtime/centrifuge/Cargo.toml +++ b/runtime/centrifuge/Cargo.toml @@ -14,40 +14,40 @@ codec = { package = "parity-scale-codec", workspace = true } getrandom = { workspace = true } hex = { workspace = true } hex-literal = { workspace = true } +log = { workspace = true } scale-info = { workspace = true } serde = { workspace = true, optional = true } static_assertions = { workspace = true } -log = { workspace = true } sp-api = { workspace = true } -sp-runtime = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } sp-inherents = { workspace = true } sp-io = { workspace = true } sp-offchain = { workspace = true } +sp-runtime = { workspace = true } sp-session = { workspace = true } sp-std = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } # For benchmarking +frame-executive = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-rpc-runtime-api = { workspace = true } frame-system-benchmarking = { workspace = true, optional = true } # For benchmarking -frame-executive = { workspace = true } -frame-benchmarking = { workspace = true, optional = true } # For benchmarking -frame-try-runtime = { workspace = true, optional = true } # For try-runtime +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } # For try-runtime +cumulus-pallet-session-benchmarking = { workspace = true, optional = true } # For benchmarking cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } -cumulus-pallet-session-benchmarking = { workspace = true, optional = true } # For benchmarking pallet-transaction-payment-rpc-runtime-api = { workspace = true } -polkadot-runtime-common = { workspace = true } polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } @@ -66,12 +66,12 @@ moonbeam-relay-encoder = { workspace = true } cfg-primitives = { workspace = true } cfg-traits = { workspace = true } cfg-types = { workspace = true } -runtime-common = { workspace = true } liquidity-pools-gateway-routers = { workspace = true } +runtime-common = { workspace = true } # Pallet list axelar-gateway-precompile = { workspace = true } -chainbridge = {workspace = true } +chainbridge = { workspace = true } cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index cab32b5ad7..d7d76cdc15 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -9,12 +9,12 @@ repository.workspace = true documentation.workspace = true [dependencies] +codec = { package = "parity-scale-codec", workspace = true } hex-literal = { workspace = true } +log = { workspace = true } +scale-info = { workspace = true } serde = { workspace = true } smallvec = { workspace = true } -codec = { package = "parity-scale-codec", workspace = true } -scale-info = { workspace = true } -log = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } @@ -22,9 +22,9 @@ frame-system = { workspace = true } sp-api = { workspace = true } sp-arithmetic = { workspace = true } sp-core = { workspace = true } +sp-io = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } -sp-io = { workspace = true } polkadot-parachain = { workspace = true } xcm = { workspace = true } @@ -49,7 +49,7 @@ cfg-utils = { workspace = true } # Pallets in the export list axelar-gateway-precompile = { workspace = true } -chainbridge = {workspace = true } +chainbridge = { workspace = true } cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index 2c5217ead9..397cd27a90 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -19,34 +19,34 @@ serde = { workspace = true, optional = true } static_assertions = { workspace = true } sp-api = { workspace = true } -sp-runtime = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } sp-inherents = { workspace = true } sp-io = { workspace = true } sp-offchain = { workspace = true } +sp-runtime = { workspace = true } sp-session = { workspace = true } sp-std = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } # For benchmarking +frame-executive = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } -frame-system-rpc-runtime-api = { workspace = true } frame-system-benchmarking = { workspace = true, optional = true } # For benchmarking -frame-executive = { workspace = true } -frame-benchmarking = { workspace = true, optional = true } # For benchmarking -frame-try-runtime = { workspace = true, optional = true } # For try-runtime +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } # For try-runtime +cumulus-pallet-session-benchmarking = { workspace = true, optional = true } # For benchmarking cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } -cumulus-pallet-session-benchmarking = { workspace = true, optional = true } # For benchmarking pallet-transaction-payment-rpc-runtime-api = { workspace = true } -polkadot-runtime-common = { workspace = true } polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } @@ -65,12 +65,12 @@ moonbeam-relay-encoder = { workspace = true } cfg-primitives = { workspace = true } cfg-traits = { workspace = true } cfg-types = { workspace = true } -runtime-common = { workspace = true } liquidity-pools-gateway-routers = { workspace = true } +runtime-common = { workspace = true } # Pallet list axelar-gateway-precompile = { workspace = true } -chainbridge = {workspace = true } +chainbridge = { workspace = true } cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 1b468c5102..3094845c8e 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -10,37 +10,37 @@ documentation.workspace = true [dependencies] codec = { package = "parity-scale-codec", workspace = true } +ethabi = { workspace = true, features = ["std"] } +ethereum = { workspace = true, features = ["std"] } fudge = { workspace = true } fudge-core = { workspace = true } +getrandom = { workspace = true } +hex = { workspace = true } lazy_static = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } tracing-subscriber = { workspace = true } -getrandom = { workspace = true } -hex = { workspace = true } -ethabi = { workspace = true, features = ["std"] } -ethereum = { workspace = true, features = ["std"] } node-primitives = { workspace = true, features = ["std"] } +sc-block-builder = { workspace = true } sc-client-api = { workspace = true } sc-executor = { workspace = true, features = ["std"] } sc-service = { workspace = true, features = ["rocksdb", "test-helpers"] } -sc-block-builder = { workspace = true } sp-api = { workspace = true, features = ["std"] } -sp-runtime = { workspace = true, features = ["std"] } sp-block-builder = { workspace = true, features = ["std"] } sp-consensus-aura = { workspace = true, features = ["std"] } sp-consensus-babe = { workspace = true, features = ["std"] } +sp-consensus-beefy = { workspace = true, features = ["std"] } +sp-consensus-slots = { workspace = true, features = ["std"] } sp-core = { workspace = true, features = ["std"] } sp-inherents = { workspace = true, features = ["std"] } sp-io = { workspace = true, features = ["std"] } +sp-runtime = { workspace = true, features = ["std"] } sp-std = { workspace = true, features = ["std"] } sp-timestamp = { workspace = true, features = ["std"] } sp-tracing = { workspace = true, features = ["std"] } -sp-consensus-beefy = { workspace = true, features = ["std"] } -sp-consensus-slots = { workspace = true, features = ["std"] } sp-transaction-pool = { workspace = true, features = ["std"] } frame-support = { workspace = true, features = ["std"] } @@ -50,18 +50,18 @@ cumulus-primitives-core = { workspace = true, features = ["std"] } cumulus-primitives-parachain-inherent = { workspace = true, features = ["std"] } cumulus-test-relay-sproof-builder = { workspace = true, features = ["std"] } -rococo-runtime = { workspace = true, features = ["std"] } kusama-runtime = { workspace = true, features = ["std"] } +polkadot-core-primitives = { workspace = true, features = ["std"] } +polkadot-parachain = { workspace = true, features = ["std"] } +polkadot-primitives = { workspace = true, features = ["std"] } polkadot-runtime = { workspace = true, features = ["std"] } polkadot-runtime-common = { workspace = true, features = ["std"] } polkadot-runtime-parachains = { workspace = true, features = ["std"] } -polkadot-parachain = { workspace = true, features = ["std"] } -polkadot-core-primitives = { workspace = true, features = ["std"] } -polkadot-primitives = { workspace = true, features = ["std"] } +rococo-runtime = { workspace = true, features = ["std"] } -pallet-im-online = { workspace = true, features = ["std"] } pallet-babe = { workspace = true, features = ["std"] } pallet-grandpa = { workspace = true, features = ["std"] } +pallet-im-online = { workspace = true, features = ["std"] } xcm = { workspace = true, features = ["std"] } xcm-executor = { workspace = true, features = ["std"] } @@ -71,19 +71,19 @@ orml-traits = { workspace = true, features = ["std"] } fp-self-contained = { workspace = true, features = ["std"] } # Locals +altair-runtime = { workspace = true, features = ["std"] } +centrifuge-runtime = { workspace = true, features = ["std"] } cfg-primitives = { workspace = true, features = ["std"] } cfg-traits = { workspace = true, features = ["std"] } cfg-types = { workspace = true, features = ["std"] } cfg-utils = { workspace = true, features = ["std"] } -runtime-common = { workspace = true, features = ["std"] } development-runtime = { workspace = true, features = ["std"] } -altair-runtime = { workspace = true, features = ["std"] } -centrifuge-runtime = { workspace = true, features = ["std"] } liquidity-pools-gateway-routers = { workspace = true, features = ["std"] } +runtime-common = { workspace = true, features = ["std"] } # Pallet list axelar-gateway-precompile = { workspace = true, features = ["std"] } -chainbridge = {workspace = true, features = ["std"] } +chainbridge = { workspace = true, features = ["std"] } cumulus-pallet-aura-ext = { workspace = true, features = ["std"] } cumulus-pallet-dmp-queue = { workspace = true, features = ["std"] } cumulus-pallet-parachain-system = { workspace = true, features = ["std"] } @@ -153,7 +153,7 @@ parachain-info = { workspace = true, features = ["std"] } [features] default = [ - "development-runtime/instant-voting" + "development-runtime/instant-voting", ] fast-runtime = ["development-runtime/fast-runtime"]