mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
fix some typos (#12584)
This commit is contained in:
@@ -249,7 +249,7 @@ pub mod pallet {
|
||||
#[pallet::event]
|
||||
#[pallet::generate_deposit(pub(super) fn deposit_event)]
|
||||
pub enum Event<T: Config<I>, I: 'static = ()> {
|
||||
/// A referendum has being submitted.
|
||||
/// A referendum has been submitted.
|
||||
Submitted {
|
||||
/// Index of the referendum.
|
||||
index: ReferendumIndex,
|
||||
@@ -352,7 +352,7 @@ pub mod pallet {
|
||||
HasDeposit,
|
||||
/// The track identifier given was invalid.
|
||||
BadTrack,
|
||||
/// There are already a full complement of referendums in progress for this track.
|
||||
/// There are already a full complement of referenda in progress for this track.
|
||||
Full,
|
||||
/// The queue of the track is empty.
|
||||
QueueEmpty,
|
||||
@@ -908,7 +908,7 @@ impl<T: Config<I>, I: 'static> Pallet<T, I> {
|
||||
///
|
||||
/// In terms of storage, every call to it is expected to access:
|
||||
/// - The scheduler, either to insert, remove or alter an entry;
|
||||
/// - `TrackQueue`, which should be a `BoundedVec` with a low limit (8-16).
|
||||
/// - `TrackQueue`, which should be a `BoundedVec` with a low limit (8-16);
|
||||
/// - `DecidingCount`.
|
||||
///
|
||||
/// Both of the two storage items will only have as many items as there are different tracks,
|
||||
|
||||
@@ -178,7 +178,7 @@ pub struct ReferendumStatus<
|
||||
pub(crate) proposal: Call,
|
||||
/// The time the proposal should be scheduled for enactment.
|
||||
pub(crate) enactment: DispatchTime<Moment>,
|
||||
/// The time of submission. Once `UndecidingTimeout` passes, it may be closed by anyone if it
|
||||
/// The time of submission. Once `UndecidingTimeout` passes, it may be closed by anyone if
|
||||
/// `deciding` is `None`.
|
||||
pub(crate) submitted: Moment,
|
||||
/// The deposit reserved for the submission of this referendum.
|
||||
@@ -224,7 +224,7 @@ pub enum ReferendumInfo<
|
||||
Approved(Moment, Deposit<AccountId, Balance>, Option<Deposit<AccountId, Balance>>),
|
||||
/// Referendum finished with rejection. Submission deposit is held.
|
||||
Rejected(Moment, Deposit<AccountId, Balance>, Option<Deposit<AccountId, Balance>>),
|
||||
/// Referendum finished with cancelation. Submission deposit is held.
|
||||
/// Referendum finished with cancellation. Submission deposit is held.
|
||||
Cancelled(Moment, Deposit<AccountId, Balance>, Option<Deposit<AccountId, Balance>>),
|
||||
/// Referendum finished and was never decided. Submission deposit is held.
|
||||
TimedOut(Moment, Deposit<AccountId, Balance>, Option<Deposit<AccountId, Balance>>),
|
||||
|
||||
Reference in New Issue
Block a user