diff --git a/bridges/modules/messages/src/inbound_lane.rs b/bridges/modules/messages/src/inbound_lane.rs index 69eabc6ebd43..645174b6d750 100644 --- a/bridges/modules/messages/src/inbound_lane.rs +++ b/bridges/modules/messages/src/inbound_lane.rs @@ -53,7 +53,7 @@ pub enum ReceivalResult { Dispatched(MessageDispatchResult), /// Message has invalid nonce and lane has rejected to accept this message. InvalidNonce, - /// There are too many unrewarded relayer entires at the lane. + /// There are too many unrewarded relayer entries at the lane. TooManyUnrewardedRelayers, /// There are too many unconfirmed messages at the lane. TooManyUnconfirmedMessages, diff --git a/bridges/modules/messages/src/lib.rs b/bridges/modules/messages/src/lib.rs index 16ba1ced91a9..2d55a84518af 100644 --- a/bridges/modules/messages/src/lib.rs +++ b/bridges/modules/messages/src/lib.rs @@ -1713,7 +1713,7 @@ mod tests { #[test] fn receive_messages_delivery_proof_rejects_proof_if_declared_relayers_state_is_invalid() { run_test(|| { - // when number of relayers entires is invalid + // when number of relayers entries is invalid assert_noop!( Pallet::::receive_messages_delivery_proof( Origin::signed(1), diff --git a/bridges/primitives/chain-westend/src/lib.rs b/bridges/primitives/chain-westend/src/lib.rs index 595c41e443e5..0f430774307a 100644 --- a/bridges/primitives/chain-westend/src/lib.rs +++ b/bridges/primitives/chain-westend/src/lib.rs @@ -65,7 +65,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { /// Westend Runtime `Call` enum. /// /// The enum represents a subset of possible `Call`s we can send to Westend chain. -/// Ideally this code would be auto-generated from Metadata, because we want to +/// Ideally this code would be auto-generated from metadata, because we want to /// avoid depending directly on the ENTIRE runtime just to get the encoding of `Dispatchable`s. /// /// All entries here (like pretty much in the entire file) must be kept in sync with Westend diff --git a/bridges/relays/client-rococo/src/runtime.rs b/bridges/relays/client-rococo/src/runtime.rs index 0a8187b1f050..d01f8a5dfd0f 100644 --- a/bridges/relays/client-rococo/src/runtime.rs +++ b/bridges/relays/client-rococo/src/runtime.rs @@ -52,7 +52,7 @@ where /// Rococo Runtime `Call` enum. /// /// The enum represents a subset of possible `Call`s we can send to Rococo chain. -/// Ideally this code would be auto-generated from Metadata, because we want to +/// Ideally this code would be auto-generated from metadata, because we want to /// avoid depending directly on the ENTIRE runtime just to get the encoding of `Dispatchable`s. /// /// All entries here (like pretty much in the entire file) must be kept in sync with Rococo diff --git a/bridges/relays/client-wococo/src/runtime.rs b/bridges/relays/client-wococo/src/runtime.rs index 6a2f7e401ac2..18fde4629a93 100644 --- a/bridges/relays/client-wococo/src/runtime.rs +++ b/bridges/relays/client-wococo/src/runtime.rs @@ -52,7 +52,7 @@ where /// Wococo Runtime `Call` enum. /// /// The enum represents a subset of possible `Call`s we can send to Rococo chain. -/// Ideally this code would be auto-generated from Metadata, because we want to +/// Ideally this code would be auto-generated from metadata, because we want to /// avoid depending directly on the ENTIRE runtime just to get the encoding of `Dispatchable`s. /// /// All entries here (like pretty much in the entire file) must be kept in sync with Rococo diff --git a/bridges/relays/finality/src/finality_loop.rs b/bridges/relays/finality/src/finality_loop.rs index 4805e1536c4b..9a2795802d07 100644 --- a/bridges/relays/finality/src/finality_loop.rs +++ b/bridges/relays/finality/src/finality_loop.rs @@ -49,10 +49,10 @@ pub struct FinalitySyncParams { /// to the target chain => bridge applications will run faster, but pallet storage may explode /// (but if pruning is there, then it's fine). pub tick: Duration, - /// Number of finality proofs to keep in internal buffer between loop wakeups. + /// Number of finality proofs to keep in internal buffer between loop iterations. /// /// While in "major syncing" state, we still read finality proofs from the stream. They're stored - /// in the internal buffer between loop wakeups. When we're close to the tip of the chain, we may + /// in the internal buffer between loop iterations. When we're close to the tip of the chain, we may /// meet finality delays if headers are not finalized frequently. So instead of waiting for next /// finality proof to appear in the stream, we may use existing proof from that buffer. pub recent_finality_proofs_limit: usize, diff --git a/bridges/relays/lib-substrate-relay/src/conversion_rate_update.rs b/bridges/relays/lib-substrate-relay/src/conversion_rate_update.rs index ee02672b483c..3e32fe32458e 100644 --- a/bridges/relays/lib-substrate-relay/src/conversion_rate_update.rs +++ b/bridges/relays/lib-substrate-relay/src/conversion_rate_update.rs @@ -19,7 +19,7 @@ use relay_utils::metrics::F64SharedRef; use std::{future::Future, time::Duration}; -/// Duration between updater wakeups. +/// Duration between updater iterations. const SLEEP_DURATION: Duration = Duration::from_secs(60); /// Update-conversion-rate transaction status.