mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 23:31:07 +00:00
Fix some typos (#4018)
Signed-off-by: hongkuang <liurenhong@outlook.com>
This commit is contained in:
@@ -984,7 +984,7 @@ pub mod pallet {
|
||||
}
|
||||
}
|
||||
|
||||
/// [`TypedGet`] implementaion to get the AccountId of the StakingPot.
|
||||
/// [`TypedGet`] implementation to get the AccountId of the StakingPot.
|
||||
pub struct StakingPotAccountId<R>(PhantomData<R>);
|
||||
impl<R> TypedGet for StakingPotAccountId<R>
|
||||
where
|
||||
|
||||
@@ -38,7 +38,7 @@ mkdir -p ~/local_bridge_testing/logs
|
||||
---
|
||||
# 1. Install zombienet
|
||||
Go to: https://github.com/paritytech/zombienet/releases
|
||||
Copy the apropriate binary (zombienet-linux) from the latest release to ~/local_bridge_testing/bin
|
||||
Copy the appropriate binary (zombienet-linux) from the latest release to ~/local_bridge_testing/bin
|
||||
|
||||
|
||||
---
|
||||
|
||||
@@ -138,7 +138,7 @@ pub fn native_version() -> NativeVersion {
|
||||
NativeVersion { runtime_version: VERSION, can_author_with: Default::default() }
|
||||
}
|
||||
|
||||
/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
|
||||
/// We assume that ~10% of the block weight is consumed by `on_initialize` handlers.
|
||||
/// This is used to limit the maximal weight of a single extrinsic.
|
||||
const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(10);
|
||||
/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
//! On completion of reading this doc, you should have a good understanding of:
|
||||
//! - The distinction between token traits and trait implementations in FRAME, and why this
|
||||
//! distinction is helpful
|
||||
//! - Token-related traits avaliable in FRAME
|
||||
//! - Token-related traits available in FRAME
|
||||
//! - Token-related trait implementations in FRAME
|
||||
//! - How to choose the right trait or trait implementation for your use case
|
||||
//! - Where to go next
|
||||
@@ -38,7 +38,7 @@
|
||||
//! [tightly coupling](crate::reference_docs::frame_pallet_coupling#tight-coupling-pallets) your
|
||||
//! custom pallet to [`pallet_balances`].
|
||||
//!
|
||||
//! However, to keep pallets flexible and modular, it is often prefered to
|
||||
//! However, to keep pallets flexible and modular, it is often preferred to
|
||||
//! [loosely couple](crate::reference_docs::frame_pallet_coupling#loosely--coupling-pallets).
|
||||
//!
|
||||
//! To achieve loose coupling,
|
||||
|
||||
@@ -1148,7 +1148,7 @@ mod tests {
|
||||
}
|
||||
.into();
|
||||
|
||||
// Populate the requested tranches. The assignemnts aren't inspected in
|
||||
// Populate the requested tranches. The assignments aren't inspected in
|
||||
// this test.
|
||||
for &t in &test_tranche {
|
||||
approval_entry.import_assignment(t, ValidatorIndex(0), 0)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
//! Also see the [`frame_tokens`] reference docs for more information about the place of
|
||||
//! `fungible` traits in Substrate.
|
||||
//!
|
||||
//! # Avaliable Traits
|
||||
//! # Available Traits
|
||||
//! - [`Inspect`]: Regular balance inspector functions.
|
||||
//! - [`Unbalanced`]: Low-level balance mutating functions. Does not guarantee proper book-keeping
|
||||
//! and so should not be called into directly from application code. Other traits depend on this
|
||||
|
||||
@@ -1123,7 +1123,7 @@ impl<T: Config<I>, I: 'static> OnUnbalanced<NegativeImbalanceOf<T, I>> for Palle
|
||||
}
|
||||
}
|
||||
|
||||
/// TypedGet implementaion to get the AccountId of the Treasury.
|
||||
/// TypedGet implementation to get the AccountId of the Treasury.
|
||||
pub struct TreasuryAccountId<R>(PhantomData<R>);
|
||||
impl<R> sp_runtime::traits::TypedGet for TreasuryAccountId<R>
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user