Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
José Molina committed Dec 5, 2023
1 parent a852419 commit 454e574
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 46 deletions.
31 changes: 6 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ trappist-runtime-benchmarks = { default-features = false, path = "pallets/benchm
pallet-withdraw-teleport = { default-features = false, path = "pallets/withdraw-teleport" }

# Substrate std
try-runtime-cli = "0.35.0"
frame-benchmarking-cli = "29.0.0"
frame-rpc-system = { version = "25.0.0", package = "substrate-frame-rpc-system", default-features = false }
pallet-transaction-payment-rpc = "27.0.0"
Expand Down Expand Up @@ -160,7 +159,6 @@ cumulus-pallet-xcm = { version = "0.4.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.4.0", default-features = false }
cumulus-ping = { version = "0.4.0", default-features = false }
cumulus-primitives-core = { version = "0.4.0", default-features = false }
cumulus-primitives-timestamp = { version = "0.4.0", default-features = false }
cumulus-primitives-utility = { version = "0.4.0", default-features = false }
pallet-collator-selection = { version = "6.0.0", default-features = false }
parachains-common = { version = "4.0.0", default-features = false }
Expand Down
2 changes: 0 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ sp-api = { workspace = true, features = ["std"] }
sp-consensus-aura = { workspace = true, features = ["std"] }
sc-sysinfo = { workspace = true }
substrate-prometheus-endpoint = { workspace = true }
try-runtime-cli = { workspace = true, optional = true }
sc-transaction-pool-api = { workspace = true }
frame-system = { workspace = true }
frame-rpc-system = { workspace = true }
Expand Down Expand Up @@ -115,6 +114,5 @@ runtime-benchmarks = [
]
try-runtime = [
"trappist-runtime/try-runtime",
"try-runtime-cli/try-runtime"
]
parameterized-consensus-hook = []
2 changes: 1 addition & 1 deletion node/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use std::sync::Arc;

use parachains_common::{AccountId, Balance, Block, Nonce};
use sc_client_api::AuxStore;
pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor};
pub use sc_rpc::DenyUnsafe;
use sc_transaction_pool_api::TransactionPool;
use sp_api::ProvideRuntimeApi;
use sp_block_builder::BlockBuilder;
Expand Down
4 changes: 1 addition & 3 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ use cumulus_primitives_core::{
use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface};
use futures::lock::Mutex;
use jsonrpsee::RpcModule;
pub use parachains_common::{
AccountId, AssetIdForTrustBackedAssets as AssetId, Balance, Block, Hash, Header, Nonce,
};
pub use parachains_common::{AccountId, Balance, Block, Hash, Header, Nonce};
use parity_scale_codec::Codec;
use sc_consensus::{
import_queue::{BasicQueue, Verifier as VerifierT},
Expand Down
7 changes: 2 additions & 5 deletions pallets/asset-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ sp-std = { workspace = true }
frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
pallet-assets = { workspace = true }
pallet-balances = { workspace = true }

xcm = { workspace = true }

Expand All @@ -30,7 +28,8 @@ xcm-primitives = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }

pallet-assets = { workspace = true }
pallet-balances = { workspace = true }

xcm = { workspace = true }
xcm-simulator = { workspace = true }
Expand All @@ -53,8 +52,6 @@ std = [
"parity-scale-codec/std",
"sp-runtime/std",
"sp-std/std",
"pallet-assets/std",
"pallet-balances/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
Expand Down
2 changes: 0 additions & 2 deletions runtime/stout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ cumulus-pallet-xcm = { workspace = true }
cumulus-pallet-xcmp-queue = { workspace = true }
cumulus-ping = { workspace = true }
cumulus-primitives-core = { workspace = true }
cumulus-primitives-timestamp = { workspace = true }
cumulus-primitives-utility = { workspace = true }
pallet-collator-selection = { workspace = true }
parachains-common = { workspace = true }
Expand Down Expand Up @@ -150,7 +149,6 @@ std = [
"cumulus-pallet-xcmp-queue/std",
"cumulus-ping/std",
"cumulus-primitives-core/std",
"cumulus-primitives-timestamp/std",
"cumulus-primitives-utility/std",
"cumulus-pallet-dmp-queue/std",
"cumulus-pallet-session-benchmarking/std",
Expand Down
1 change: 0 additions & 1 deletion runtime/stout/src/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use frame_support::{
use pallet_contracts::{
weights::SubstrateWeight, Config, DebugInfo, DefaultAddressGenerator, Frame, Schedule,
};
pub use parachains_common::AVERAGE_ON_INITIALIZE_RATIO;
use sp_core::ConstBool;
use sp_runtime::Perbill;

Expand Down
4 changes: 0 additions & 4 deletions runtime/trappist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ cumulus-pallet-dmp-queue = { workspace = true }
cumulus-pallet-parachain-system = { workspace = true }
cumulus-pallet-xcm = { workspace = true }
cumulus-pallet-xcmp-queue = { workspace = true }
cumulus-ping = { workspace = true }
cumulus-primitives-core = { workspace = true }
cumulus-primitives-timestamp = { workspace = true }
cumulus-primitives-utility = { workspace = true }
pallet-collator-selection = { workspace = true }
parachains-common = { workspace = true }
Expand Down Expand Up @@ -168,9 +166,7 @@ std = [
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std",
"cumulus-ping/std",
"cumulus-primitives-core/std",
"cumulus-primitives-timestamp/std",
"cumulus-primitives-utility/std",
"cumulus-pallet-dmp-queue/std",
"parachain-info/std",
Expand Down
1 change: 0 additions & 1 deletion runtime/trappist/src/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ use frame_support::{
traits::{ConstBool, ConstU32, Nothing},
};
use pallet_contracts::{Config, DebugInfo, DefaultAddressGenerator, Frame, Schedule};
pub use parachains_common::AVERAGE_ON_INITIALIZE_RATIO;
use sp_runtime::Perbill;

// Prints debug output of the `contracts` pallet to stdout if the node is
Expand Down

0 comments on commit 454e574

Please sign in to comment.