Skip to content

Commit e056586

Browse files
authored
chore: fix typos (#6999)
βœ„ ----------------------------------------------------------------------------- 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 Hello, I fix some typos in logs and comments. Thank you very much. ## Integration *In depth notes about how this PR should be integrated by downstream projects. This part is mandatory, and should be reviewed by reviewers, if the PR does NOT have the `R0-Silent` label. In case of a `R0-Silent`, it can be ignored.* ## Review Notes *In depth notes about the **implementation** details of your PR. This should be the main guide for reviewers to understand your approach and effectively review it. If too long, use [`<details>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details)*. *Imagine that someone who is depending on the old code wants to integrate your new code and the only information that they get is this section. It helps to include example usage and default value here, with a `diff` code-block to show possibly integration.* *Include your leftover TODOs, if any, here.* # Checklist * [ ] My PR includes a detailed description as outlined in the "Description" and its two subsections above. * [ ] 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. * [ ] I have made corresponding changes to the documentation (if applicable) * [ ] 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! βœ„ ----------------------------------------------------------------------------- Signed-off-by: chloefeal <[email protected]>
1 parent 77ad8ab commit e056586

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

β€Žbridges/relays/lib-substrate-relay/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub enum Error<Hash: Debug + MaybeDisplay, HeaderNumber: Debug + MaybeDisplay> {
4747
#[error("Failed to guess initial {0} GRANDPA authorities set id: checked all possible ids in range [0; {1}]")]
4848
GuessInitialAuthorities(&'static str, HeaderNumber),
4949
/// Failed to retrieve GRANDPA authorities at the given header from the source chain.
50-
#[error("Failed to retrive {0} GRANDPA authorities set at header {1}: {2:?}")]
50+
#[error("Failed to retrieve {0} GRANDPA authorities set at header {1}: {2:?}")]
5151
RetrieveAuthorities(&'static str, Hash, client::Error),
5252
/// Failed to decode GRANDPA authorities at the given header of the source chain.
5353
#[error("Failed to decode {0} GRANDPA authorities set at header {1}: {2:?}")]

β€Žbridges/relays/messages/src/message_lane_loop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ pub(crate) mod tests {
10411041
#[test]
10421042
fn message_lane_loop_is_able_to_recover_from_unsuccessful_transaction() {
10431043
// with this configuration, both source and target clients will mine their transactions, but
1044-
// their corresponding nonce won't be udpated => reconnect will happen
1044+
// their corresponding nonce won't be updated => reconnect will happen
10451045
let (exit_sender, exit_receiver) = unbounded();
10461046
let result = run_loop_test(
10471047
Arc::new(Mutex::new(TestClientData {

β€Žbridges/snowbridge/primitives/core/src/location.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ mod tests {
206206
for token in token_locations {
207207
assert!(
208208
TokenIdOf::convert_location(&token).is_some(),
209-
"Valid token = {token:?} yeilds no TokenId."
209+
"Valid token = {token:?} yields no TokenId."
210210
);
211211
}
212212

@@ -220,7 +220,7 @@ mod tests {
220220
for token in non_token_locations {
221221
assert!(
222222
TokenIdOf::convert_location(&token).is_none(),
223-
"Invalid token = {token:?} yeilds a TokenId."
223+
"Invalid token = {token:?} yields a TokenId."
224224
);
225225
}
226226
}

0 commit comments

Comments
Β (0)