Skip to content

Commit

Permalink
chore: fix typos (#2737)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxianBoy authored Apr 14, 2024
1 parent 1bead11 commit 8f4485b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions modules/honzon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub mod module {

#[pallet::error]
pub enum Error<T> {
// No permisson
// No permission
NoPermission,
// The system has been shutdown
AlreadyShutdown,
Expand Down Expand Up @@ -342,9 +342,9 @@ pub mod module {

/// Transfers debit between two CDPs
///
/// - `from_currency`: Currency id that debit is transfered from
/// - `to_currency`: Currency id that debit is transfered to
/// - `debit_transfer`: Debit transfered across two CDPs
/// - `from_currency`: Currency id that debit is transferred from
/// - `to_currency`: Currency id that debit is transferred to
/// - `debit_transfer`: Debit transferred across two CDPs
#[pallet::call_index(9)]
#[pallet::weight(<T as Config>::WeightInfo::transfer_debit())]
pub fn transfer_debit(
Expand Down
2 changes: 1 addition & 1 deletion modules/xcm-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pub mod module {

// self location is relative to self
let loc = T::SelfLocation::get();
// we need to reanchor it to the parent becuase the call is dispatched on parent
// we need to reanchor it to the parent because the call is dispatched on parent
let loc = loc
.reanchored(&MultiLocation::new(1, Here), Here)
.map_err(|_| Error::<T>::XcmFailed)?;
Expand Down
2 changes: 1 addition & 1 deletion runtime/mandala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
state_version: 0,
};

/// The version infromation used to identify this runtime when compiled
/// The version information used to identify this runtime when compiled
/// natively.
#[cfg(feature = "std")]
pub fn native_version() -> NativeVersion {
Expand Down

0 comments on commit 8f4485b

Please sign in to comment.