mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
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.
This commit is contained in:
@@ -10,6 +10,7 @@ ignore = [
|
|||||||
"RUSTSEC-2022-0061", # https://github.com/serai-dex/serai/227
|
"RUSTSEC-2022-0061", # https://github.com/serai-dex/serai/227
|
||||||
"RUSTSEC-2024-0370", # proc-macro-error is unmaintained
|
"RUSTSEC-2024-0370", # proc-macro-error is unmaintained
|
||||||
"RUSTSEC-2024-0436", # paste is unmaintained
|
"RUSTSEC-2024-0436", # paste is unmaintained
|
||||||
|
"RUSTSEC-2025-0057", # https://github.com/bytecodealliance/wasmtime/pull/11634
|
||||||
]
|
]
|
||||||
|
|
||||||
[licenses]
|
[licenses]
|
||||||
@@ -79,6 +80,8 @@ exceptions = [
|
|||||||
{ allow = ["AGPL-3.0-only"], name = "serai-coordinator-libp2p-p2p" },
|
{ allow = ["AGPL-3.0-only"], name = "serai-coordinator-libp2p-p2p" },
|
||||||
{ allow = ["AGPL-3.0-only"], name = "serai-coordinator" },
|
{ 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-core-pallet" },
|
||||||
{ allow = ["AGPL-3.0-only"], name = "serai-coins-pallet" },
|
{ allow = ["AGPL-3.0-only"], name = "serai-coins-pallet" },
|
||||||
{ allow = ["AGPL-3.0-only"], name = "serai-dex-pallet" },
|
{ allow = ["AGPL-3.0-only"], name = "serai-dex-pallet" },
|
||||||
|
|||||||
@@ -91,9 +91,6 @@ mod runtime {
|
|||||||
#[runtime::pallet_index(5)]
|
#[runtime::pallet_index(5)]
|
||||||
pub type LiquidityTokens = serai_coins_pallet::Pallet<Runtime, LiquidityTokensInstance>;
|
pub type LiquidityTokens = serai_coins_pallet::Pallet<Runtime, LiquidityTokensInstance>;
|
||||||
|
|
||||||
#[runtime::pallet_index(0xfd)]
|
|
||||||
pub type Session = pallet_session::Pallet<Runtime>;
|
|
||||||
|
|
||||||
#[runtime::pallet_index(0xfe)]
|
#[runtime::pallet_index(0xfe)]
|
||||||
pub type Babe = pallet_babe::Pallet<Runtime>;
|
pub type Babe = pallet_babe::Pallet<Runtime>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user