diff --git a/pallets/name-service/src/lib.rs b/pallets/name-service/src/lib.rs index 602bf1339..5a0fb08a2 100644 --- a/pallets/name-service/src/lib.rs +++ b/pallets/name-service/src/lib.rs @@ -173,7 +173,7 @@ pub mod pallet { Self::do_register(&username, registrant) } - /// After Pending Register has passed its block wait time, finish regiser + /// After Pending Register has passed its block wait time, finish register #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::accept_register())] #[transactional] @@ -246,7 +246,7 @@ impl Pallet { T::PalletId::get().into_account_truncating() } - /// Queue username for regiser + /// Queue username for register fn do_register(username: &UserName, registrant: ZkAddressType) -> DispatchResult { // Username checks username_validation(username).ok_or(Error::::InvalidUsernameFormat)?; diff --git a/pallets/pallet-lottery/src/lib.rs b/pallets/pallet-lottery/src/lib.rs index 1d743c024..3567ec645 100644 --- a/pallets/pallet-lottery/src/lib.rs +++ b/pallets/pallet-lottery/src/lib.rs @@ -163,7 +163,7 @@ pub mod pallet { type DrawingInterval: Get; /// Time in blocks *before* a drawing in /// Depending on the randomness source, the winner might be established before the drawing, this prevents modification of the eligible winning set after the winner - /// has been established but before it is selected by [`Call::draw_lottery`] which modifications of the win-eligble pool are prevented + /// has been established but before it is selected by [`Call::draw_lottery`] which modifications of the win-eligible pool are prevented #[pallet::constant] type DrawingFreezeout: Get; /// Time in blocks until a collator is done unstaking @@ -1116,7 +1116,7 @@ pub mod pallet { return true; } }; - // Ensure the pallet has enough gas to pay for this. Should never run out as long as its's called from `draw_lottery` + // Ensure the pallet has enough gas to pay for this. Should never run out as long as it's called from `draw_lottery` let fee_estimate : BalanceOf = T::EstimateCallFee::estimate_call_fee(&pallet_parachain_staking::Call::execute_delegation_request { delegator: Self::account_id() , candidate: collator.account.clone() }, None.into()); if Self::surplus_funds() <= fee_estimate{ log::warn!("could not finish unstaking delegation because the pallet is out of funds to pay TX fees. Skipping"); diff --git a/runtime/manta/src/lib.rs b/runtime/manta/src/lib.rs index d0c74cbe1..fe4cad3c6 100644 --- a/runtime/manta/src/lib.rs +++ b/runtime/manta/src/lib.rs @@ -404,7 +404,7 @@ parameter_types! { pub const LotteryPotId: PalletId = LOTTERY_PALLET_ID; /// Time in blocks between lottery drawings pub DrawingInterval: BlockNumber = prod_or_fast!(7 * DAYS, 3 * MINUTES); - /// Time in blocks *before* a drawing in which modifications of the win-eligble pool are prevented + /// Time in blocks *before* a drawing in which modifications of the win-eligible pool are prevented pub DrawingFreezeout: BlockNumber = prod_or_fast!(1 * DAYS, 1 * MINUTES); /// Time in blocks until a collator is done unstaking pub UnstakeLockTime: BlockNumber = LeaveDelayRounds::get() * DefaultBlocksPerRound::get();