Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: chloefeal <[email protected]>
  • Loading branch information
chloefeal committed Dec 25, 2024
1 parent ca78179 commit e5408ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bridges/relays/lib-substrate-relay/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub enum Error<Hash: Debug + MaybeDisplay, HeaderNumber: Debug + MaybeDisplay> {
#[error("Failed to guess initial {0} GRANDPA authorities set id: checked all possible ids in range [0; {1}]")]
GuessInitialAuthorities(&'static str, HeaderNumber),
/// Failed to retrieve GRANDPA authorities at the given header from the source chain.
#[error("Failed to retrive {0} GRANDPA authorities set at header {1}: {2:?}")]
#[error("Failed to retrieve {0} GRANDPA authorities set at header {1}: {2:?}")]
RetrieveAuthorities(&'static str, Hash, client::Error),
/// Failed to decode GRANDPA authorities at the given header of the source chain.
#[error("Failed to decode {0} GRANDPA authorities set at header {1}: {2:?}")]
Expand Down
2 changes: 1 addition & 1 deletion bridges/relays/messages/src/message_lane_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ pub(crate) mod tests {
#[test]
fn message_lane_loop_is_able_to_recover_from_unsuccessful_transaction() {
// with this configuration, both source and target clients will mine their transactions, but
// their corresponding nonce won't be udpated => reconnect will happen
// their corresponding nonce won't be updated => reconnect will happen
let (exit_sender, exit_receiver) = unbounded();
let result = run_loop_test(
Arc::new(Mutex::new(TestClientData {
Expand Down
4 changes: 2 additions & 2 deletions bridges/snowbridge/primitives/core/src/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ mod tests {
for token in token_locations {
assert!(
TokenIdOf::convert_location(&token).is_some(),
"Valid token = {token:?} yeilds no TokenId."
"Valid token = {token:?} yields no TokenId."
);
}

Expand All @@ -220,7 +220,7 @@ mod tests {
for token in non_token_locations {
assert!(
TokenIdOf::convert_location(&token).is_none(),
"Invalid token = {token:?} yeilds a TokenId."
"Invalid token = {token:?} yields a TokenId."
);
}
}
Expand Down

0 comments on commit e5408ea

Please sign in to comment.