mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Tweaks for processor to work with the new serai-client
This commit is contained in:
@@ -11,7 +11,7 @@ use serai_client::{
|
|||||||
in_instructions::primitives::{
|
in_instructions::primitives::{
|
||||||
InInstructionWithBalance, Batch, RefundableInInstruction, Shorthand, MAX_BATCH_SIZE,
|
InInstructionWithBalance, Batch, RefundableInInstruction, Shorthand, MAX_BATCH_SIZE,
|
||||||
},
|
},
|
||||||
tokens::primitives::{OutInstruction, OutInstructionWithBalance},
|
coins::primitives::{OutInstruction, OutInstructionWithBalance},
|
||||||
};
|
};
|
||||||
|
|
||||||
use log::{info, error};
|
use log::{info, error};
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ mod other_primitives {
|
|||||||
pub mod in_instructions {
|
pub mod in_instructions {
|
||||||
pub use serai_runtime::in_instructions::primitives;
|
pub use serai_runtime::in_instructions::primitives;
|
||||||
}
|
}
|
||||||
pub mod tokens {
|
pub mod coins {
|
||||||
pub use serai_runtime::tokens::primitives;
|
pub use serai_runtime::tokens::primitives;
|
||||||
}
|
}
|
||||||
pub mod validator_sets {
|
pub mod validator_sets {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ use messages::{sign::SignId, SubstrateContext};
|
|||||||
use serai_client::{
|
use serai_client::{
|
||||||
primitives::{BlockHash, NetworkId},
|
primitives::{BlockHash, NetworkId},
|
||||||
in_instructions::primitives::Batch,
|
in_instructions::primitives::Batch,
|
||||||
tokens::primitives::{OutInstruction, OutInstructionWithBalance},
|
coins::primitives::{OutInstruction, OutInstructionWithBalance},
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{*, tests::*};
|
use crate::{*, tests::*};
|
||||||
|
|||||||
Reference in New Issue
Block a user