mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Fixes
This commit is contained in:
@@ -422,9 +422,16 @@ mod tests {
|
||||
|
||||
pub struct MockExec;
|
||||
impl ExecuteXcm<Call> for MockExec {
|
||||
type Prepared = Weightless;
|
||||
|
||||
fn prepare(message: Xcm<()>) -> Result<Self::Prepared, Xcm<Call>> {
|
||||
Err(message)
|
||||
}
|
||||
|
||||
fn execute_xcm_in_credit(
|
||||
_origin: impl Into<MultiLocation>,
|
||||
message: Xcm,
|
||||
_hash: XcmHash,
|
||||
weight_limit: Weight,
|
||||
_credit: Weight,
|
||||
) -> Outcome {
|
||||
@@ -442,6 +449,10 @@ mod tests {
|
||||
TRACE.with(|q| q.borrow_mut().push((message, o.clone())));
|
||||
o
|
||||
}
|
||||
|
||||
fn charge_fees(_location: impl Into<MultiLocation>, _fees: MultiAssets) -> XcmResult {
|
||||
Err(XcmError::Unimplemented)
|
||||
}
|
||||
}
|
||||
|
||||
impl Config for Test {
|
||||
|
||||
Reference in New Issue
Block a user