Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx committed Nov 5, 2024
1 parent 166701b commit 4e51c80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pallets/gear-messenger/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ fn queue_works() {
assert_eq!(DequeuedOf::get(), 2);
assert_eq!(QueueOf::len(), 2);

// Push front used only for requeueing element,
// Push front used only for requeuing element,
// which was already in queue in current block,
// because it decreased dequeued amount.
assert!(QueueProcessingOf::allowed());
Expand Down
2 changes: 1 addition & 1 deletion pallets/gear/src/manager/journal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ where
);

GasAllowanceOf::<T>::decrease(gas_burned);
// TODO: #3112. Rework requeueing logic to avoid blocked queue.
// TODO: #3112. Rework requeuing logic to avoid blocked queue.
QueueOf::<T>::requeue(dispatch).unwrap_or_else(|e| {
let err_msg = format!(
"JournalHandler::stop_processing: failed requeuing message. Got error - {e:?}"
Expand Down
2 changes: 1 addition & 1 deletion utils/node-loader/src/batch_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<Rng: CallGenRng> BatchPool<Rng> {
/// Consume `BatchPool` and spawn tasks.
///
/// - `run_pool_task` - the main task for sending and processing batches.
/// - `inpect_crash_task` - background task monitors when message processing stops.
/// - `inspect_crash_task` - background task monitors when message processing stops.
/// - `renew_balance_task` - periodically setting a new balance for the user account.
///
/// Wait for any task to return result with `tokio::select!`.
Expand Down

0 comments on commit 4e51c80

Please sign in to comment.