From 229dfbb75ecd596aea861b252523c1148c334eb4 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 25 Nov 2023 00:27:33 -0500 Subject: [PATCH] Remove unused dependencies --- Cargo.lock | 1 - substrate/in-instructions/pallet/Cargo.toml | 4 ---- substrate/in-instructions/pallet/src/lib.rs | 3 --- 3 files changed, 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fb44479e1..a93e1dc9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7691,7 +7691,6 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "thiserror", ] [[package]] diff --git a/substrate/in-instructions/pallet/Cargo.toml b/substrate/in-instructions/pallet/Cargo.toml index f3aafb523..fc342c3bd 100644 --- a/substrate/in-instructions/pallet/Cargo.toml +++ b/substrate/in-instructions/pallet/Cargo.toml @@ -13,8 +13,6 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -thiserror = { version = "1", optional = true } - scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "2", default-features = false, features = ["derive"] } @@ -36,8 +34,6 @@ validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../.. [features] std = [ - "thiserror", - "scale/std", "scale-info/std", diff --git a/substrate/in-instructions/pallet/src/lib.rs b/substrate/in-instructions/pallet/src/lib.rs index 376b42058..0e61f2be9 100644 --- a/substrate/in-instructions/pallet/src/lib.rs +++ b/substrate/in-instructions/pallet/src/lib.rs @@ -2,10 +2,7 @@ #![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(not(feature = "std"), no_std)] -use scale::Encode; - use sp_io::hashing::blake2_256; -use sp_runtime::RuntimeDebug; use serai_primitives::{BlockHash, NetworkId};