Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Dec 13, 2024
1 parent 82c9fe9 commit f91b832
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/sp-domains-fraud-proof/src/storage_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub enum VerificationError {
RuntimeRegistryStorageProof(StorageProofVerificationError),
DynamicCostOfStorageStorageProof(StorageProofVerificationError),
DigestStorageProof(StorageProofVerificationError),
BlockFessStorageProof(StorageProofVerificationError),
BlockFeesStorageProof(StorageProofVerificationError),
TransfersStorageProof(StorageProofVerificationError),
ExtrinsicStorageProof(StorageProofVerificationError),
DomainSudoCallStorageProof(StorageProofVerificationError),
Expand Down
2 changes: 1 addition & 1 deletion crates/sp-domains-fraud-proof/src/verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ where
)
.map_err(|err| {
VerificationError::StorageProof(
storage_proof::VerificationError::BlockFessStorageProof(err),
storage_proof::VerificationError::BlockFeesStorageProof(err),
)
})?;

Expand Down
4 changes: 2 additions & 2 deletions domains/client/domain-operator/src/fraud_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ where
self.maybe_generate_domain_runtime_code_proof_for_receipt(domain_id, local_receipt)?;

let maybe_runtime_id =
self.is_domain_runtime_updraded_at(domain_id, consensus_block_hash)?;
self.is_domain_runtime_upgraded_at(domain_id, consensus_block_hash)?;

let invalid_inherent_extrinsic_proof = InvalidInherentExtrinsicProof::generate(
&self.storage_key_provider,
Expand Down Expand Up @@ -412,7 +412,7 @@ where
Ok(invalid_domain_extrinsics_root_proof)
}

pub fn is_domain_runtime_updraded_at(
pub fn is_domain_runtime_upgraded_at(
&self,
domain_id: DomainId,
at: CBlock::Hash,
Expand Down

0 comments on commit f91b832

Please sign in to comment.