From 3512b3832d941820fee5f6f86e5e06307bb96f8b Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Fri, 26 Sep 2025 23:08:38 -0400 Subject: [PATCH] Don't actually define a pallet for `pallet-session` We need its `Config`, not it as a pallet. As it has no storage, no calls, no events, this is fine. --- deny.toml | 3 +++ substrate/runtime/src/lib.rs | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deny.toml b/deny.toml index 3fdb570e..015a6018 100644 --- a/deny.toml +++ b/deny.toml @@ -10,6 +10,7 @@ ignore = [ "RUSTSEC-2022-0061", # https://github.com/serai-dex/serai/227 "RUSTSEC-2024-0370", # proc-macro-error is unmaintained "RUSTSEC-2024-0436", # paste is unmaintained + "RUSTSEC-2025-0057", # https://github.com/bytecodealliance/wasmtime/pull/11634 ] [licenses] @@ -79,6 +80,8 @@ exceptions = [ { allow = ["AGPL-3.0-only"], name = "serai-coordinator-libp2p-p2p" }, { allow = ["AGPL-3.0-only"], name = "serai-coordinator" }, + { allow = ["AGPL-3.0-only"], name = "pallet-session" }, + { allow = ["AGPL-3.0-only"], name = "serai-core-pallet" }, { allow = ["AGPL-3.0-only"], name = "serai-coins-pallet" }, { allow = ["AGPL-3.0-only"], name = "serai-dex-pallet" }, diff --git a/substrate/runtime/src/lib.rs b/substrate/runtime/src/lib.rs index ff1a456b..c7589b50 100644 --- a/substrate/runtime/src/lib.rs +++ b/substrate/runtime/src/lib.rs @@ -91,9 +91,6 @@ mod runtime { #[runtime::pallet_index(5)] pub type LiquidityTokens = serai_coins_pallet::Pallet; - #[runtime::pallet_index(0xfd)] - pub type Session = pallet_session::Pallet; - #[runtime::pallet_index(0xfe)] pub type Babe = pallet_babe::Pallet;