diff --git a/contracts/credit-manager/tests/tests/test_no_health_check.rs b/contracts/credit-manager/tests/tests/test_no_health_check.rs index bade4aecf..16a2bc92b 100644 --- a/contracts/credit-manager/tests/tests/test_no_health_check.rs +++ b/contracts/credit-manager/tests/tests/test_no_health_check.rs @@ -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, diff --git a/contracts/red-bank/src/liquidate.rs b/contracts/red-bank/src/liquidate.rs index 06b81b2f2..2a54deebe 100644 --- a/contracts/red-bank/src/liquidate.rs +++ b/contracts/red-bank/src/liquidate.rs @@ -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)?; diff --git a/contracts/v2-zapper/astroport/src/lp_pool.rs b/contracts/v2-zapper/astroport/src/lp_pool.rs index 65d725e63..57b9dc76a 100644 --- a/contracts/v2-zapper/astroport/src/lp_pool.rs +++ b/contracts/v2-zapper/astroport/src/lp_pool.rs @@ -278,7 +278,7 @@ fn from_astro_to_apollo_assets_info(assets: &[AstroAssetInfo]) -> Vec 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 { diff --git a/packages/testing/src/mock_address_provider.rs b/packages/testing/src/mock_address_provider.rs index dac1c37a5..dd65216ff 100644 --- a/packages/testing/src/mock_address_provider.rs +++ b/packages/testing/src/mock_address_provider.rs @@ -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}" ); }