mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-13 14:39:25 +00:00
Update serai-abi, and dependencies, to patch-polkadot-sdk
This commit is contained in:
@@ -67,6 +67,7 @@ impl BorshDeserialize for Batch {
|
||||
let read = self.reader.read(buf)?;
|
||||
self.read = self.read.saturating_add(read);
|
||||
if self.read > Batch::MAX_SIZE {
|
||||
#[allow(clippy::io_other_error)]
|
||||
Err(io::Error::new(io::ErrorKind::Other, "Batch size exceeded maximum"))?;
|
||||
}
|
||||
Ok(read)
|
||||
|
||||
@@ -10,6 +10,7 @@ use crate::{address::ExternalAddress, balance::ExternalBalance};
|
||||
feature = "non_canonical_scale_derivations",
|
||||
derive(scale::Encode, scale::Decode, scale::MaxEncodedLen)
|
||||
)]
|
||||
#[cfg_attr(feature = "non_canonical_scale_derivations", allow(clippy::cast_possible_truncation))]
|
||||
pub enum OutInstruction {
|
||||
/// Transfer to the specified address.
|
||||
Transfer(ExternalAddress),
|
||||
|
||||
Reference in New Issue
Block a user