mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 18:21:08 +00:00
Make CI happy again (#1086)
* Appease `cargo-spellcheck` * Increase logging for `cargo-spellcheck` * Fix config file name
This commit is contained in:
committed by
Bastian Köcher
parent
82a952c0db
commit
75df85f52a
@@ -32,7 +32,7 @@ pub enum Subcommand {
|
|||||||
/// Key management CLI utilities
|
/// Key management CLI utilities
|
||||||
Key(sc_cli::KeySubcommand),
|
Key(sc_cli::KeySubcommand),
|
||||||
|
|
||||||
/// Verify a signature for a message, provided on STDIN, with a given (public or secret) key.
|
/// Verify a signature for a message, provided on `STDIN`, with a given (public or secret) key.
|
||||||
Verify(sc_cli::VerifyCmd),
|
Verify(sc_cli::VerifyCmd),
|
||||||
|
|
||||||
/// Generate a seed that provides a vanity address.
|
/// Generate a seed that provides a vanity address.
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ pub enum Subcommand {
|
|||||||
/// Key management CLI utilities
|
/// Key management CLI utilities
|
||||||
Key(sc_cli::KeySubcommand),
|
Key(sc_cli::KeySubcommand),
|
||||||
|
|
||||||
/// Verify a signature for a message, provided on STDIN, with a given (public or secret) key.
|
/// Verify a signature for a message, provided on `STDIN`, with a given (public or secret) key.
|
||||||
Verify(sc_cli::VerifyCmd),
|
Verify(sc_cli::VerifyCmd),
|
||||||
|
|
||||||
/// Generate a seed that provides a vanity address.
|
/// Generate a seed that provides a vanity address.
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ pub struct StoredHeader<Submitter> {
|
|||||||
pub struct ValidatorsSet {
|
pub struct ValidatorsSet {
|
||||||
/// Validators of this set.
|
/// Validators of this set.
|
||||||
pub validators: Vec<Address>,
|
pub validators: Vec<Address>,
|
||||||
/// Hash of the block where this set has been signalled. None if this is the first set.
|
/// Hash of the block where this set has been signaled. None if this is the first set.
|
||||||
pub signal_block: Option<HeaderId>,
|
pub signal_block: Option<HeaderId>,
|
||||||
/// Hash of the block where this set has been enacted.
|
/// Hash of the block where this set has been enacted.
|
||||||
pub enact_block: HeaderId,
|
pub enact_block: HeaderId,
|
||||||
|
|||||||
@@ -567,7 +567,7 @@ pub(crate) fn find_scheduled_change<H: HeaderT>(header: &H) -> Option<sp_finalit
|
|||||||
header.digest().convert_first(|l| l.try_to(id).and_then(filter_log))
|
header.digest().convert_first(|l| l.try_to(id).and_then(filter_log))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Checks the given header for a consensus digest signalling a **forced** scheduled change and
|
/// Checks the given header for a consensus digest signaling a **forced** scheduled change and
|
||||||
/// extracts it.
|
/// extracts it.
|
||||||
pub(crate) fn find_forced_change<H: HeaderT>(
|
pub(crate) fn find_forced_change<H: HeaderT>(
|
||||||
header: &H,
|
header: &H,
|
||||||
|
|||||||
@@ -379,7 +379,7 @@ pub mod pallet {
|
|||||||
Some(TokenSwapState::Started) => fail!(Error::<T, I>::SwapIsPending),
|
Some(TokenSwapState::Started) => fail!(Error::<T, I>::SwapIsPending),
|
||||||
Some(TokenSwapState::Confirmed) => fail!(Error::<T, I>::SwapIsConfirmed),
|
Some(TokenSwapState::Confirmed) => fail!(Error::<T, I>::SwapIsConfirmed),
|
||||||
Some(TokenSwapState::Failed) => {
|
Some(TokenSwapState::Failed) => {
|
||||||
// we allow cancelling swap even before lock period is over - the `source_account_at_this_chain`
|
// we allow canceling swap even before lock period is over - the `source_account_at_this_chain`
|
||||||
// has already paid for nothing and it is up to him to decide whether he want to try again
|
// has already paid for nothing and it is up to him to decide whether he want to try again
|
||||||
}
|
}
|
||||||
None => fail!(Error::<T, I>::SwapIsInactive),
|
None => fail!(Error::<T, I>::SwapIsInactive),
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ use relay_utils::MaybeConnectionError;
|
|||||||
pub enum RpcError {
|
pub enum RpcError {
|
||||||
/// The arguments to the RPC method failed to serialize.
|
/// The arguments to the RPC method failed to serialize.
|
||||||
Serialization(serde_json::Error),
|
Serialization(serde_json::Error),
|
||||||
/// An error occured when interacting with an Ethereum node.
|
/// An error occurred when interacting with an Ethereum node.
|
||||||
Ethereum(EthereumNodeError),
|
Ethereum(EthereumNodeError),
|
||||||
/// An error occured when interacting with a Substrate node.
|
/// An error occured when interacting with a Substrate node.
|
||||||
Substrate(SubstrateNodeError),
|
Substrate(SubstrateNodeError),
|
||||||
|
|||||||
Reference in New Issue
Block a user