diff --git a/pallets/subbridge/src/xcmbridge.rs b/pallets/subbridge/src/xcmbridge.rs index d04c4ff7..0d337ea4 100644 --- a/pallets/subbridge/src/xcmbridge.rs +++ b/pallets/subbridge/src/xcmbridge.rs @@ -375,7 +375,8 @@ pub mod pallet { origin: origin_location.clone(), dest_location, beneficiary, - dest_weight: max_weight.unwrap_or(XCMWeight::from_parts(6_000_000_000u64, 0)), + dest_weight: max_weight + .unwrap_or(XCMWeight::from_parts(6_000_000_000u64, 2_000_000u64)), _marker: PhantomData, }; let mut msg = xcm_session.message()?; diff --git a/pallets/subbridge/src/xtransfer.rs b/pallets/subbridge/src/xtransfer.rs index 41e04710..1594d876 100644 --- a/pallets/subbridge/src/xtransfer.rs +++ b/pallets/subbridge/src/xtransfer.rs @@ -156,7 +156,7 @@ pub mod pallet { temporary_account.into(), what.clone(), who.clone(), - Some(XCMWeight::from_parts(6_000_000_000u64, 0)), + Some(XCMWeight::from_parts(6_000_000_000u64, 2_000_000u64)), )?; Self::deposit_event(Event::Forwarded { what, who, memo }); // TODO: Should we support forward generic message in the future?