From f23e38e63142598763942516f9bb5b56a6900ad0 Mon Sep 17 00:00:00 2001 From: vedhavyas Date: Tue, 22 Oct 2024 14:20:33 +0530 Subject: [PATCH] fix check=license and fmt checks --- .github/license-check/config.json | 1 + pallets/treasury/Cargo.toml | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/license-check/config.json b/.github/license-check/config.json index 2a02f38d86..e3ff87c98f 100644 --- a/.github/license-check/config.json +++ b/.github/license-check/config.json @@ -6,6 +6,7 @@ "exclude": [ "pallets/collator-selection/**", "pallets/custom-signatures/**", + "pallets/treasury/**", "precompiles/utils/**", "precompiles/utils_v2/**", "vendor/**" diff --git a/pallets/treasury/Cargo.toml b/pallets/treasury/Cargo.toml index 04e2694546..92006364c9 100644 --- a/pallets/treasury/Cargo.toml +++ b/pallets/treasury/Cargo.toml @@ -13,22 +13,22 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -parity-scale-codec = { features = ["derive", "max-encoded-len"], workspace = true } docify = { workspace = true } -impl-trait-for-tuples = { workspace = true } -scale-info = { features = ["derive"], workspace = true } -serde = { features = ["derive"], optional = true, workspace = true, default-features = true } frame-benchmarking = { optional = true, workspace = true } frame-support.workspace = true frame-system.workspace = true +impl-trait-for-tuples = { workspace = true } pallet-balances.workspace = true -sp-runtime.workspace = true +parity-scale-codec = { features = ["derive", "max-encoded-len"], workspace = true } +scale-info = { features = ["derive"], workspace = true } +serde = { features = ["derive"], optional = true, workspace = true, default-features = true } sp-core = { optional = true, workspace = true } +sp-runtime.workspace = true [dev-dependencies] -sp-io = { workspace = true } pallet-utility = { workspace = true } sp-core = { workspace = true } +sp-io = { workspace = true } [features] default = ["std"]