mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
chore: spellchecker fixes (#1130)
This commit is contained in:
@@ -148,7 +148,7 @@ impl Size for PreComputedSize {
|
|||||||
pub enum TransactionEra<BlockNumber, BlockHash> {
|
pub enum TransactionEra<BlockNumber, BlockHash> {
|
||||||
/// Transaction is immortal.
|
/// Transaction is immortal.
|
||||||
Immortal,
|
Immortal,
|
||||||
/// Transaction is valid for given number of blocks, starting from given block.
|
/// Transaction is valid for a given number of blocks, starting from given block.
|
||||||
Mortal(BlockNumber, BlockHash, u32),
|
Mortal(BlockNumber, BlockHash, u32),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ use std::{fmt::Debug, marker::PhantomData, time::Duration};
|
|||||||
/// this timeout is used.
|
/// this timeout is used.
|
||||||
///
|
///
|
||||||
/// There are no any strict requirements on block time in Substrate. But we assume here that all
|
/// There are no any strict requirements on block time in Substrate. But we assume here that all
|
||||||
/// Substrate-based chains will be designed to produce relatively fast (compared to slowest
|
/// Substrate-based chains will be designed to produce relatively fast (compared to the slowest
|
||||||
/// blockchains) blocks. So 1 hour seems to be a good guess for (even congested) chains to mine
|
/// blockchains) blocks. So 1 hour seems to be a good guess for (even congested) chains to mine
|
||||||
/// transaction, or remove it from the pool.
|
/// transaction, or remove it from the pool.
|
||||||
pub(crate) const STALL_TIMEOUT: Duration = Duration::from_secs(60 * 60);
|
pub(crate) const STALL_TIMEOUT: Duration = Duration::from_secs(60 * 60);
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ fn prepare_dummy_messages_delivery_proof<SC: Chain, TC: Chain>() -> SubstrateMes
|
|||||||
///
|
///
|
||||||
/// This function assumes that the chain that is followed by the `self_client` has
|
/// This function assumes that the chain that is followed by the `self_client` has
|
||||||
/// bridge GRANDPA pallet deployed and it provides `best_finalized_header_id_method_name`
|
/// bridge GRANDPA pallet deployed and it provides `best_finalized_header_id_method_name`
|
||||||
/// runtime API to read best finalized Bridged chain header.
|
/// runtime API to read the best finalized Bridged chain header.
|
||||||
pub async fn read_client_state<SelfChain, BridgedHeaderHash, BridgedHeaderNumber>(
|
pub async fn read_client_state<SelfChain, BridgedHeaderHash, BridgedHeaderNumber>(
|
||||||
self_client: &Client<SelfChain>,
|
self_client: &Client<SelfChain>,
|
||||||
best_finalized_header_id_method_name: &str,
|
best_finalized_header_id_method_name: &str,
|
||||||
|
|||||||
@@ -377,7 +377,7 @@ where
|
|||||||
.unwrap_or_else(|_| SC::Balance::max_value())
|
.unwrap_or_else(|_| SC::Balance::max_value())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Compute fee multiplier that is used by the chain, given couple of fees for transactions
|
/// Compute fee multiplier that is used by the chain, given a couple of fees for transactions
|
||||||
/// that are only differ in dispatch weights.
|
/// that are only differ in dispatch weights.
|
||||||
///
|
///
|
||||||
/// This function assumes that standard transaction payment pallet is used by the chain.
|
/// This function assumes that standard transaction payment pallet is used by the chain.
|
||||||
|
|||||||
Reference in New Issue
Block a user