Skip to content

Commit

Permalink
chore: fix typos (#2761)
Browse files Browse the repository at this point in the history
Co-authored-by: fsgegs <[email protected]>
  • Loading branch information
fsgegs and fsgegs authored May 16, 2024
1 parent 332b9c6 commit 62ee452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/incentives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//! Acala platform need support different types of rewards for some other protocol.
//! Each Pool has its own multi currencies rewards and reward accumulation
//! mechanism. ORML rewards module records the total shares, total multi currencies rewards anduser
//! shares of specific pool. Incentives module provides hooks to other protocals to manage shares,
//! shares of specific pool. Incentives module provides hooks to other protocols to manage shares,
//! accumulates rewards and distributes rewards to users based on their shares.
//!
//! Pool types:
Expand Down Expand Up @@ -255,7 +255,7 @@ pub mod module {
Ok(())
}

/// Claim all avalible multi currencies rewards for specific PoolId.
/// Claim all available multi currencies rewards for specific PoolId.
///
/// The dispatch origin of this call must be `Signed` by the transactor.
///
Expand Down
4 changes: 2 additions & 2 deletions modules/relaychain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use sp_std::{boxed::Box, marker::PhantomData, prelude::*};
pub use cumulus_primitives_core::ParaId;
use xcm::v4::{prelude::*, Weight as XcmWeight};

/// The encoded index correspondes to Kusama's Runtime module configuration.
/// The encoded index corresponds to Kusama's Runtime module configuration.
/// https://github.com/paritytech/polkadot/blob/444e96ae34bcec8362f0f947a07bd912b32ca48f/runtime/kusama/src/lib.rs#L1379
#[derive(Encode, Decode, RuntimeDebug)]
pub enum KusamaRelayChainCall {
Expand Down Expand Up @@ -73,7 +73,7 @@ impl RelayChainCall for KusamaRelayChainCall {
}
}

/// The encoded index correspondes to Polkadot's Runtime module configuration.
/// The encoded index corresponds to Polkadot's Runtime module configuration.
/// https://github.com/paritytech/polkadot/blob/84a3962e76151ac5ed3afa4ef1e0af829531ab42/runtime/polkadot/src/lib.rs#L1040
#[derive(Encode, Decode, RuntimeDebug)]
pub enum PolkadotRelayChainCall {
Expand Down

0 comments on commit 62ee452

Please sign in to comment.