mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Remove borsh from dkg
It pulls in a lot of bespoke dependencies for little utility directly present. Moves the necessary code into the processor.
This commit is contained in:
@@ -31,7 +31,15 @@ struct RawParams {
|
||||
|
||||
#[derive(BorshSerialize, BorshDeserialize)]
|
||||
pub(crate) struct Participations {
|
||||
#[borsh(
|
||||
serialize_with = "messages::borsh_serialize_participant_map",
|
||||
deserialize_with = "messages::borsh_deserialize_participant_map"
|
||||
)]
|
||||
pub(crate) substrate_participations: HashMap<Participant, Vec<u8>>,
|
||||
#[borsh(
|
||||
serialize_with = "messages::borsh_serialize_participant_map",
|
||||
deserialize_with = "messages::borsh_deserialize_participant_map"
|
||||
)]
|
||||
pub(crate) network_participations: HashMap<Participant, Vec<u8>>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user