Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #2790

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/dex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub mod module {
UnacceptableShareIncrement,
/// The liquidity withdrawn is unacceptable
UnacceptableLiquidityWithdrawn,
/// The swap dosen't meet the invariant check
/// The swap doesn't meet the invariant check
InvariantCheckFailed,
/// The Provision is unqualified to be converted to `Enabled`
UnqualifiedProvision,
Expand Down
2 changes: 1 addition & 1 deletion modules/idle-scheduler/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fn can_process_tasks_up_to_weight_limit() {
Weight::from_parts(100_002_000_000, 0) + <()>::on_idle_base() + (<()>::clear_tasks() * 2),
);

// Due to hashing, excution is not guaranteed to be in order.
// Due to hashing, execution is not guaranteed to be in order.
assert_eq!(
Tasks::<Runtime>::get(0),
Some(ScheduledTasks::BalancesTask(BalancesTask::OnIdle))
Expand Down
2 changes: 1 addition & 1 deletion modules/incentives/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ fn transfer_reward_and_update_rewards_storage_atomically_when_accumulate_incenti
vec![(PoolId::Loans(LDOT), vec![(ACA, 30), (AUSD, 90)]),],
));

// accumulate ACA and AUSD failed, because pool dosen't exist
// accumulate ACA and AUSD failed, because pool doesn't exist
IncentivesModule::accumulate_incentives(PoolId::Loans(LDOT));
assert_eq!(
orml_rewards::PoolInfos::<Runtime>::contains_key(PoolId::Dex(LDOT)),
Expand Down
2 changes: 1 addition & 1 deletion modules/prices/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//! The data from Oracle cannot be used in business, prices module will do some
//! process and feed prices for Acala. Process include:
//! - specify a fixed price for stable currency
//! - feed price in USD or related price bewteen two currencies
//! - feed price in USD or related price between two currencies
//! - lock/unlock the price data get from oracle

#![cfg_attr(not(feature = "std"), no_std)]
Expand Down