Fix spelling (#1118)

* I'm just trying to do my job

* spelling
This commit is contained in:
Svyatoslav Nikolsky
2021-09-07 11:33:39 +03:00
committed by Bastian Köcher
parent d554639380
commit 6e3b083ab3
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ pub enum ReceivalResult {
Dispatched(MessageDispatchResult), Dispatched(MessageDispatchResult),
/// Message has invalid nonce and lane has rejected to accept this message. /// Message has invalid nonce and lane has rejected to accept this message.
InvalidNonce, InvalidNonce,
/// There are too many unrewarded relayer entires at the lane. /// There are too many unrewarded relayer entries at the lane.
TooManyUnrewardedRelayers, TooManyUnrewardedRelayers,
/// There are too many unconfirmed messages at the lane. /// There are too many unconfirmed messages at the lane.
TooManyUnconfirmedMessages, TooManyUnconfirmedMessages,
+1 -1
View File
@@ -1713,7 +1713,7 @@ mod tests {
#[test] #[test]
fn receive_messages_delivery_proof_rejects_proof_if_declared_relayers_state_is_invalid() { fn receive_messages_delivery_proof_rejects_proof_if_declared_relayers_state_is_invalid() {
run_test(|| { run_test(|| {
// when number of relayers entires is invalid // when number of relayers entries is invalid
assert_noop!( assert_noop!(
Pallet::<TestRuntime>::receive_messages_delivery_proof( Pallet::<TestRuntime>::receive_messages_delivery_proof(
Origin::signed(1), Origin::signed(1),
+1 -1
View File
@@ -65,7 +65,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
/// Westend Runtime `Call` enum. /// Westend Runtime `Call` enum.
/// ///
/// The enum represents a subset of possible `Call`s we can send to Westend chain. /// 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. /// 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 /// All entries here (like pretty much in the entire file) must be kept in sync with Westend
+1 -1
View File
@@ -52,7 +52,7 @@ where
/// Rococo Runtime `Call` enum. /// Rococo Runtime `Call` enum.
/// ///
/// The enum represents a subset of possible `Call`s we can send to Rococo chain. /// 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. /// 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 /// All entries here (like pretty much in the entire file) must be kept in sync with Rococo
+1 -1
View File
@@ -52,7 +52,7 @@ where
/// Wococo Runtime `Call` enum. /// Wococo Runtime `Call` enum.
/// ///
/// The enum represents a subset of possible `Call`s we can send to Rococo chain. /// 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. /// 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 /// All entries here (like pretty much in the entire file) must be kept in sync with Rococo
+2 -2
View File
@@ -49,10 +49,10 @@ pub struct FinalitySyncParams {
/// to the target chain => bridge applications will run faster, but pallet storage may explode /// to the target chain => bridge applications will run faster, but pallet storage may explode
/// (but if pruning is there, then it's fine). /// (but if pruning is there, then it's fine).
pub tick: Duration, 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 /// 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 /// 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. /// finality proof to appear in the stream, we may use existing proof from that buffer.
pub recent_finality_proofs_limit: usize, pub recent_finality_proofs_limit: usize,
@@ -19,7 +19,7 @@
use relay_utils::metrics::F64SharedRef; use relay_utils::metrics::F64SharedRef;
use std::{future::Future, time::Duration}; use std::{future::Future, time::Duration};
/// Duration between updater wakeups. /// Duration between updater iterations.
const SLEEP_DURATION: Duration = Duration::from_secs(60); const SLEEP_DURATION: Duration = Duration::from_secs(60);
/// Update-conversion-rate transaction status. /// Update-conversion-rate transaction status.