From f7ed998379dedced55f885d81f63707c21d862b8 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Mon, 9 Dec 2024 19:06:13 +0200 Subject: [PATCH 1/3] Update lib.rs Signed-off-by: leopardracer <136604165+leopardracer@users.noreply.github.com> --- pallets/name-service/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/name-service/src/lib.rs b/pallets/name-service/src/lib.rs index abe4e7204..01345d279 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)?; From 2fb1c11119d067fc4e7f3d84b9f54c38f7de80ad Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Mon, 9 Dec 2024 19:07:00 +0200 Subject: [PATCH 2/3] Update lib.rs Signed-off-by: leopardracer <136604165+leopardracer@users.noreply.github.com> --- pallets/pallet-lottery/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/pallet-lottery/src/lib.rs b/pallets/pallet-lottery/src/lib.rs index 0d55ded13..bbd5180c4 100644 --- a/pallets/pallet-lottery/src/lib.rs +++ b/pallets/pallet-lottery/src/lib.rs @@ -162,7 +162,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 From 72a284597128c0acc5f88ad2b97629f150378089 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Mon, 9 Dec 2024 19:10:02 +0200 Subject: [PATCH 3/3] Update lib.rs Signed-off-by: leopardracer <136604165+leopardracer@users.noreply.github.com> --- runtime/manta/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/manta/src/lib.rs b/runtime/manta/src/lib.rs index c6ccb5379..14accff02 100644 --- a/runtime/manta/src/lib.rs +++ b/runtime/manta/src/lib.rs @@ -410,7 +410,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();