Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Companion for XCM v3 Subset #2097

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pallets/dmp-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ mod tests {

fn msg(weight: XCMWeight) -> Xcm {
Xcm(vec![Transact {
origin_type: OriginKind::Native,
origin_kind: OriginKind::Native,
require_weight_at_most: weight,
call: Vec::new().into(),
}])
Expand Down
4 changes: 2 additions & 2 deletions parachains/pallets/ping/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub mod pallet {
match T::XcmSender::send_xcm(
(1, Junction::Parachain(para.into())),
Xcm(vec![Transact {
origin_type: OriginKind::Native,
origin_kind: OriginKind::Native,
require_weight_at_most: 1_000,
call: <T as Config>::RuntimeCall::from(Call::<T>::ping {
seq,
Expand Down Expand Up @@ -201,7 +201,7 @@ pub mod pallet {
match T::XcmSender::send_xcm(
(1, Junction::Parachain(para.into())),
Xcm(vec![Transact {
origin_type: OriginKind::Native,
origin_kind: OriginKind::Native,
require_weight_at_most: 1_000,
call: <T as Config>::RuntimeCall::from(Call::<T>::pong {
seq,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<Call> XcmWeightInfo<Call> for StatemineXcmWeight<Call> {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::transfer_reserve_asset())
}
fn transact(
_origin_type: &OriginKind,
_origin_kind: &OriginKind,
_require_weight_at_most: &u64,
_call: &DoubleEncoded<Call>,
) -> XCMWeight {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<Call> XcmWeightInfo<Call> for StatemintXcmWeight<Call> {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::transfer_reserve_asset())
}
fn transact(
_origin_type: &OriginKind,
_origin_kind: &OriginKind,
_require_weight_at_most: &u64,
_call: &DoubleEncoded<Call>,
) -> XCMWeight {
Expand Down
2 changes: 1 addition & 1 deletion parachains/runtimes/assets/westmint/src/weights/xcm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<Call> XcmWeightInfo<Call> for WestmintXcmWeight<Call> {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::transfer_reserve_asset())
}
fn transact(
_origin_type: &OriginKind,
_origin_kind: &OriginKind,
_require_weight_at_most: &u64,
_call: &DoubleEncoded<Call>,
) -> XCMWeight {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubKusamaXcmWeight<Call> {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::transfer_reserve_asset())
}
fn transact(
_origin_type: &OriginKind,
_origin_kind: &OriginKind,
_require_weight_at_most: &u64,
_call: &DoubleEncoded<Call>,
) -> XCMWeight {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubRococoXcmWeight<Call> {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::transfer_reserve_asset())
}
fn transact(
_origin_type: &OriginKind,
_origin_kind: &OriginKind,
_require_weight_at_most: &u64,
_call: &DoubleEncoded<Call>,
) -> XCMWeight {
Expand Down