mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Strongly type SlashReport, populate cosign/slash report tasks with work
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use serai_validator_sets_primitives::Session;
|
||||
use serai_validator_sets_primitives::{Session, Slash};
|
||||
|
||||
use serai_db::{Get, DbTxn, create_db, db_channel};
|
||||
|
||||
@@ -15,6 +15,9 @@ create_db! {
|
||||
|
||||
db_channel! {
|
||||
SignersGlobal {
|
||||
Cosign: (session: Session) -> (u64, [u8; 32]),
|
||||
SlashReport: (session: Session) -> Vec<Slash>,
|
||||
|
||||
CoordinatorToCosignerMessages: (session: Session) -> CoordinatorMessage,
|
||||
CosignerToCoordinatorMessages: (session: Session) -> ProcessorMessage,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user