From 5c5c097da955aac5e218cf4fa83fec791d548497 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 14 Oct 2023 12:21:36 -0400 Subject: [PATCH] Tweaks for processor to work with the new serai-client --- processor/src/multisigs/mod.rs | 2 +- substrate/client/src/lib.rs | 2 +- tests/processor/src/tests/send.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/processor/src/multisigs/mod.rs b/processor/src/multisigs/mod.rs index a6838fd5a..0071df6c5 100644 --- a/processor/src/multisigs/mod.rs +++ b/processor/src/multisigs/mod.rs @@ -11,7 +11,7 @@ use serai_client::{ in_instructions::primitives::{ InInstructionWithBalance, Batch, RefundableInInstruction, Shorthand, MAX_BATCH_SIZE, }, - tokens::primitives::{OutInstruction, OutInstructionWithBalance}, + coins::primitives::{OutInstruction, OutInstructionWithBalance}, }; use log::{info, error}; diff --git a/substrate/client/src/lib.rs b/substrate/client/src/lib.rs index e80b183f5..4949c0a0d 100644 --- a/substrate/client/src/lib.rs +++ b/substrate/client/src/lib.rs @@ -14,7 +14,7 @@ mod other_primitives { pub mod in_instructions { pub use serai_runtime::in_instructions::primitives; } - pub mod tokens { + pub mod coins { pub use serai_runtime::tokens::primitives; } pub mod validator_sets { diff --git a/tests/processor/src/tests/send.rs b/tests/processor/src/tests/send.rs index 67703b99b..268692b99 100644 --- a/tests/processor/src/tests/send.rs +++ b/tests/processor/src/tests/send.rs @@ -10,7 +10,7 @@ use messages::{sign::SignId, SubstrateContext}; use serai_client::{ primitives::{BlockHash, NetworkId}, in_instructions::primitives::Batch, - tokens::primitives::{OutInstruction, OutInstructionWithBalance}, + coins::primitives::{OutInstruction, OutInstructionWithBalance}, }; use crate::{*, tests::*};