Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
8b81b130
Unverified
Commit
8b81b130
authored
Nov 18, 2021
by
Alexander Popiak
Committed by
GitHub
Nov 18, 2021
Browse files
fix pallet-xcm extrinsic doc comments (#4317)
parent
06642def
Pipeline
#166828
passed with stages
in 37 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
xcm/pallet-xcm/src/lib.rs
View file @
8b81b130
...
...
@@ -484,8 +484,8 @@ pub mod pallet {
/// an `AccountId32` value.
/// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
/// `dest` side. May not be empty.
/// - `
dest_weight`: Equal to the total weight on `dest` of the XCM message
///
`Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`
.
/// - `
fee_asset_item`: The index into `assets` of the item which should be used to pay
///
fees
.
#[pallet::weight(
{
let
maybe_assets:
Result
<
MultiAssets,
()
>
=
(
*
assets
.
clone())
.
try_into()
;
let
maybe_dest:
Result
<
MultiLocation,
()
>
=
(
*
dest
.
clone())
.
try_into()
;
...
...
@@ -721,8 +721,8 @@ pub mod pallet {
/// an `AccountId32` value.
/// - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
/// `dest` side. May not be empty.
/// - `
dest_weight`: Equal to the total weight on `dest` of the XCM message
///
`Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`
.
/// - `
fee_asset_item`: The index into `assets` of the item which should be used to pay
///
fees
.
/// - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
#[pallet::weight(
{
let
maybe_assets:
Result
<
MultiAssets,
()
>
=
(
*
assets
.
clone())
.
try_into()
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment