Get all processors to compile again

Requires splitting `serai-cosign` into `serai-cosign` and `serai-cosign-types`
so the processor don't require `serai-client/serai` (not correct yet).
This commit is contained in:
Luke Parker
2025-09-02 02:16:21 -04:00
parent 75240ed327
commit ada94e8c5d
87 changed files with 413 additions and 301 deletions

View File

@@ -93,6 +93,7 @@ impl BorshDeserialize for Batch {
}
/// An error incurred while pushing an instruction onto a `Batch`.
#[derive(Debug)]
pub enum PushInstructionError {
/// The Batch's max size was exceeded.
MaxSizeExceeded,

View File

@@ -80,7 +80,7 @@ pub struct RefundableInInstruction {
#[derive(Clone, PartialEq, Eq, Debug, Zeroize, BorshSerialize, BorshDeserialize)]
pub struct InInstructionWithBalance {
/// The instruction on how to handle coins in.
pub instruction: OutInstruction,
pub instruction: InInstruction,
/// The coins in.
pub balance: ExternalBalance,
}

View File

@@ -1,5 +1,8 @@
mod r#in;
pub use r#in::{InInstruction, InInstructionWithBalance, PushInstructionError, Batch, SignedBatch};
pub use r#in::{
InInstruction, InInstructionWithBalance, RefundableInInstruction, PushInstructionError, Batch,
SignedBatch,
};
mod out;
pub use out::{OutInstruction, OutInstructionWithBalance};