mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
* Companion #2995: Dispatchable for teleporting assets * Fixes * Fixes * Fixes * Fixes * Bump Substrate * Bump Polkadot * Fixes
This commit is contained in:
@@ -416,8 +416,12 @@ mod tests {
|
||||
|
||||
pub struct MockExec;
|
||||
impl ExecuteXcm<Call> for MockExec {
|
||||
type Call = Call;
|
||||
fn execute_xcm(_origin: MultiLocation, message: Xcm, weight_limit: Weight) -> Outcome {
|
||||
fn execute_xcm_in_credit(
|
||||
_origin: MultiLocation,
|
||||
message: Xcm,
|
||||
weight_limit: Weight,
|
||||
_credit: Weight,
|
||||
) -> Outcome {
|
||||
let o = match &message {
|
||||
Xcm::Transact { require_weight_at_most, .. } => {
|
||||
if *require_weight_at_most <= weight_limit {
|
||||
|
||||
Reference in New Issue
Block a user