Skip to content

Commit dbcc78d

Browse files
andrew-ifritaalvicsam
authored andcommitted
docs: fix XCM docs for AlwaysV4 and AlwaysV5 (#8862)
✄ ----------------------------------------------------------------------------- Thank you for your Pull Request! 🙏 Please make sure it follows the contribution guidelines outlined in [this document](https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and fill out the sections below. Once you're ready to submit your PR for review, please delete this section and leave only the text under the "Description" heading. # Description Fix docstrings for `AlwaysV4` and `AlwaysV5` in XCM code, both of which wrongly stated V3 ## Integration Only docs are changed. ## Review Notes None # Checklist * [x] My PR includes a detailed description as outlined in the "Description" and its two subsections above. * [x] My PR follows the [labeling requirements]( https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md#Process ) of this project (at minimum one label for `T` required) * External contributors: ask maintainers to put the right label on your PR. * [x] I have made corresponding changes to the documentation (if applicable) * [x] (N/A) I have added tests that prove my fix is effective or that my feature works (if applicable) You can remove the "Checklist" section once all have been checked. Thank you for your contribution! ✄ -----------------------------------------------------------------------------
1 parent 1f8303a commit dbcc78d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polkadot/xcm/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ impl GetVersion for AlwaysV3 {
479479
}
480480
}
481481

482-
/// `WrapVersion` implementation which attempts to always convert the XCM to version 3 before
482+
/// `WrapVersion` implementation which attempts to always convert the XCM to version 4 before
483483
/// wrapping it.
484484
pub struct AlwaysV4;
485485
impl WrapVersion for AlwaysV4 {
@@ -496,7 +496,7 @@ impl GetVersion for AlwaysV4 {
496496
}
497497
}
498498

499-
/// `WrapVersion` implementation which attempts to always convert the XCM to version 3 before
499+
/// `WrapVersion` implementation which attempts to always convert the XCM to version 5 before
500500
/// wrapping it.
501501
pub struct AlwaysV5;
502502
impl WrapVersion for AlwaysV5 {

0 commit comments

Comments
 (0)