mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Fixes
This commit is contained in:
@@ -345,10 +345,7 @@ mod tests {
|
||||
};
|
||||
use sp_version::RuntimeVersion;
|
||||
use std::cell::RefCell;
|
||||
use xcm::{
|
||||
latest::{MultiLocation, OriginKind},
|
||||
v3::traits::Weightless,
|
||||
};
|
||||
use xcm::latest::{MultiLocation, OriginKind};
|
||||
|
||||
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
|
||||
type Block = frame_system::mocking::MockBlock<Test>;
|
||||
@@ -423,6 +420,13 @@ mod tests {
|
||||
})
|
||||
}
|
||||
|
||||
pub enum Weightless {}
|
||||
impl PreparedMessage for Weightless {
|
||||
fn weight_of(&self) -> Weight {
|
||||
unreachable!()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct MockExec;
|
||||
impl ExecuteXcm<Call> for MockExec {
|
||||
type Prepared = Weightless;
|
||||
|
||||
Reference in New Issue
Block a user