Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos #2737

Merged
merged 1 commit into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading