Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pallets/liveness/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub mod pallet {
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[derive(PartialEq, Eq, Clone, Encode, Decode, RuntimeDebug)]
pub enum ReportType {
/// Geode failed challange check
/// Geode failed challenge check
Challenge = 0x00,
/// Geode failed service check
Service,
Expand Down Expand Up @@ -263,7 +263,7 @@ pub mod pallet {
_proof: Vec<u8>,
) -> DispatchResultWithPostInfo {
let who = ensure_signed(origin)?;
// check attestor existance and whether attested
// check attestor existence and whether attested
ensure!(
pallet_attestor::Attestors::<T>::contains_key(&who),
pallet_attestor::Error::<T>::InvalidAttestor
Expand Down Expand Up @@ -318,7 +318,7 @@ pub mod pallet {
geode: T::AccountId,
) -> DispatchResultWithPostInfo {
let who = ensure_signed(origin)?;
// check attestor existance and whether atteseted
// check attestor existence and whether atteseted
ensure!(
pallet_attestor::Attestors::<T>::contains_key(&who),
pallet_attestor::Error::<T>::InvalidAttestor
Expand All @@ -329,7 +329,7 @@ pub mod pallet {
Error::<T>::AlreadyAttestFor
);

// check geode existance and state
// check geode existence and state
ensure!(
pallet_geode::Geodes::<T>::contains_key(&geode),
pallet_geode::Error::<T>::InvalidGeode
Expand Down