Fix typos in docs (#4092)

* Fix typos

* Update ump.rs

* Update ump.rs

* Update ump.rs
This commit is contained in:
Gavin Wood
2021-10-16 15:57:03 +02:00
committed by GitHub
parent 04a5d8c8b2
commit 9ca5f5e6fe
+4 -4
View File
@@ -202,20 +202,20 @@ pub mod pallet {
/// Upward message executed with the given outcome. /// Upward message executed with the given outcome.
/// \[ id, outcome \] /// \[ id, outcome \]
ExecutedUpward(MessageId, Outcome), ExecutedUpward(MessageId, Outcome),
/// The weight limit for handling downward messages was reached. /// The weight limit for handling upward messages was reached.
/// \[ id, remaining, required \] /// \[ id, remaining, required \]
WeightExhausted(MessageId, Weight, Weight), WeightExhausted(MessageId, Weight, Weight),
/// Some downward messages have been received and will be processed. /// Some upward messages have been received and will be processed.
/// \[ para, count, size \] /// \[ para, count, size \]
UpwardMessagesReceived(ParaId, u32, u32), UpwardMessagesReceived(ParaId, u32, u32),
/// The weight budget was exceeded for an individual downward message. /// The weight budget was exceeded for an individual upward message.
/// ///
/// This message can be later dispatched manually using `service_overweight` dispatchable /// This message can be later dispatched manually using `service_overweight` dispatchable
/// using the assigned `overweight_index`. /// using the assigned `overweight_index`.
/// ///
/// \[ para, id, overweight_index, required \] /// \[ para, id, overweight_index, required \]
OverweightEnqueued(ParaId, MessageId, OverweightIndex, Weight), OverweightEnqueued(ParaId, MessageId, OverweightIndex, Weight),
/// Downward message from the overweight queue was executed with the given actual weight /// Upward message from the overweight queue was executed with the given actual weight
/// used. /// used.
/// ///
/// \[ overweight_index, used \] /// \[ overweight_index, used \]