fix some typos (#12584)

This commit is contained in:
joe petrowski
2022-10-31 12:20:29 +01:00
committed by GitHub
parent 0ef7e261a3
commit cb20ae7de1
6 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -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,
+2 -2
View File
@@ -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>>),