Load/save first_preprocess with RecognizedIdType

Enables their IDs to have conflicts across each other.
This commit is contained in:
Luke Parker
2023-10-14 21:58:10 -04:00
parent 7409d0b3cf
commit a300a1029a
3 changed files with 34 additions and 15 deletions

View File

@@ -7,6 +7,7 @@ use ciphersuite::{Ciphersuite, Ristretto};
use tokio::sync::broadcast;
use scale::{Encode, Decode};
use serai_client::{validator_sets::primitives::ValidatorSet, subxt::utils::Encoded, Serai};
use tributary::{
@@ -27,7 +28,7 @@ use crate::{
P2p,
};
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
#[derive(Clone, Copy, PartialEq, Eq, Debug, Encode, Decode)]
pub enum RecognizedIdType {
Batch,
Plan,