Skip to content

Commit

Permalink
Merge pull request #3400 from torrpriius/fix/typos
Browse files Browse the repository at this point in the history
Fix typos across multiple files
  • Loading branch information
torrpriius authored Feb 21, 2025
1 parent e13f3e2 commit ab4c784
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/sc-consensus-subspace-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ where
let info = config.client.info();
let best_hash = info.best_hash;
let genesis_hash = BlockHash::try_from(info.genesis_hash.as_ref())
.expect("Genesis hash must always be convertable into BlockHash; qed");
.expect("Genesis hash must always be convertible into BlockHash; qed");
let runtime_api = config.client.runtime_api();
let chain_constants = runtime_api.chain_constants(best_hash)?;
// While the number can technically change in runtime, farmer will not adjust to it on the
Expand Down
2 changes: 1 addition & 1 deletion crates/sp-domains-fraud-proof/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ async fn test_evm_domain_block_fee() {
// proof_verifier
// .verify(&good_invalid_transaction_proof)
// .is_ok(),
// "Valid proof must be accepeted"
// "Valid proof must be accepted"
// );

// ferdie
Expand Down
2 changes: 1 addition & 1 deletion crates/sp-domains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ pub struct AutoIdDomainRuntimeConfig {
// Currently, there is no specific configuration for AutoId.
}

/// Configrations for specific domain runtime kinds.
/// Configurations for specific domain runtime kinds.
#[derive(TypeInfo, Debug, Encode, Decode, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum DomainRuntimeConfig {
Evm(EvmDomainRuntimeConfig),
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-malicious-operator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub fn create_malicious_operator_configuration<Cli: SubstrateCli>(
.unwrap_or_else(|| Ok(Default::default()))?;
let max_runtime_instances = 8;
let is_validator = role.is_authority();
// The malicous operator has its own internal keystore
// The malicious operator has its own internal keystore
let keystore = KeystoreConfig::InMemory;
let telemetry_endpoints = None;
let runtime_cache_size = 2;
Expand Down

0 comments on commit ab4c784

Please sign in to comment.