Skip to content

Commit

Permalink
Fix spelling issues (#426)
Browse files Browse the repository at this point in the history
* fix spelling types_diff_v1_0_0__mars_v2.txt

* fix spelling issue test_incentives.rs

* add auxiliary verb health_computer.rs
  • Loading branch information
nnsW3 authored Aug 19, 2024
1 parent ad69488 commit 02f3307
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion files/types_diff_v1_0_0__mars_v2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ index 1ec39a76..c94cad79 100644
- /// How many MARS will be assigned per second to be distributed among all Red Bank
- /// depositors
- emission_per_second: Option<Uint128>,
+ /// The denom of the collatearal token to receive incentives
+ /// The denom of the collateral token to receive incentives
+ collateral_denom: String,
+ /// The denom of the token to give incentives with
+ incentive_denom: String,
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tests/test_incentives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn rewards_claim() {
assert!(rewards_balance.is_empty());
}

// Credit accounts can deposit / withdraw from Red Bank and accure rewards in incentives contract.
// Credit accounts can deposit / withdraw from Red Bank and accrue rewards in incentives contract.
#[test]
fn rewards_claim_for_credit_account() {
let owner = Addr::unchecked("owner");
Expand Down
2 changes: 1 addition & 1 deletion packages/health-computer/src/health_computer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ impl HealthComputer {
// This represents the max ltv adjusted value of the coin being swapped from
let swap_from_ltv_value = from_coin_value.checked_mul_floor(from_ltv)?;

// The from_denom is always taken on as debt, as the trade is the bullish direction
// The from_denom is always taken on as debt, as the trade is in the bullish direction
// of the to_denom (expecting it to outpace the borrow rate from the from_denom)
let swap_to_ltv_value = from_coin_value.checked_mul_floor(to_ltv)?;

Expand Down

0 comments on commit 02f3307

Please sign in to comment.