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 typos in comment #440

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
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn deposit_and_repay_works_without_hf_check() {
)
.unwrap();

// Repay for recepient should fail because of HF check
// Repay for recipient should fail because of HF check
let res = mock.update_credit_account(
&account_id,
&user,
Expand Down
2 changes: 1 addition & 1 deletion contracts/red-bank/src/liquidate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pub fn liquidate(
let user_debt_amount_scaled_after =
get_scaled_debt_amount(user_debt_amount_after, &debt_market, block_time)?;

// Compute delta so it can be substracted to total debt
// Compute delta so it can be subtracted to total debt
let debt_amount_scaled_delta =
user_debt.amount_scaled.checked_sub(user_debt_amount_scaled_after)?;

Expand Down
2 changes: 1 addition & 1 deletion contracts/v2-zapper/astroport/src/lp_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ fn from_astro_to_apollo_assets_info(assets: &[AstroAssetInfo]) -> Vec<AssetInfo>
assets.iter().map(|a| from_astro_to_apollo_asset_info(a.clone())).collect()
}

/// Converts Astro to Apollo `AssetInfo`. Apollo crates have coverters from Astro to Apollo but we use
/// Converts Astro to Apollo `AssetInfo`. Apollo crates have converters from Astro to Apollo but we use
/// different astroport version so we can't use them directly.
fn from_astro_to_apollo_asset_info(asset_info: AstroAssetInfo) -> AssetInfo {
match asset_info {
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/src/mock_address_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub fn handle_query(contract_addr: &Addr, query: QueryMsg) -> QuerierResult {
let address_provider = Addr::unchecked("address_provider");
if *contract_addr != address_provider {
panic!(
"[mock]: Address provider request made to {contract_addr} shoud be {address_provider}"
"[mock]: Address provider request made to {contract_addr} should be {address_provider}"
);
}

Expand Down