Skip to content

Commit 9f9fbd8

Browse files
authored
chore: fix some typos in comment (#1415)
Signed-off-by: deepdring <deepdrink@icloud.com>
1 parent 6b0e59e commit 9f9fbd8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

scripts/test_scripts/leveragelp/query.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ done
105105
echo "Querying rewards ..."
106106
ASK_USER=true
107107
while [ "$ASK_USER" = true ]; do
108-
echo "Enter address and positon id"
108+
echo "Enter address and position id"
109109
read address position_id
110110
$BINARY q leveragelp rewards $address $position_id
111111
echo "Want to make another query, true/false"

x/perpetual/keeper/open_consolidate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func (suite *PerpetualKeeperTestSuite) TestOpenConsolidateUsingOpen() {
224224
_, err = suite.app.PerpetualKeeper.Open(suite.ctx, &msg)
225225
suite.Require().NoError(err)
226226

227-
// make new Positon leverage 0 to add collateral
227+
// make new Position leverage 0 to add collateral
228228
msg.Leverage = math.LegacyNewDec(0)
229229

230230
return &msg

x/perpetual/spec/02_mechanism.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@ To maintain the stability and health of the pool, the following equations are us
132132
- **Liabilities**: The total amount of liabilities associated with the position. This includes any borrowed amounts that the trader is responsible for repaying.
133133
- **Borrow Interest Unpaid**: The total amount of unpaid interest accrued on the borrowed liabilities. This includes any interest that has not yet been paid by the trader.
134134

135-
If Position Health falls below the Safety Factor threshold (5%), the perpetual position position is automatically liquidated to protect the underlying liquidity pool.
135+
If Position Health falls below the Safety Factor threshold (5%), the perpetual position is automatically liquidated to protect the underlying liquidity pool.

x/vaults/keeper/vault.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ func (k Keeper) GetNextVaultId(ctx sdk.Context) uint64 {
6868
// BenchmarkVault, let's say benchmark is btc?usdc, at start 100$
6969
// after a month 125$ value btc?usdc, now if vault has tvl > 125 that means vault has performed well
7070

71-
// Improvments v2, handle rewards for user withdrawing using commitment module, staked eden/etc
71+
// Improvements v2, handle rewards for user withdrawing using commitment module, staked eden/etc

0 commit comments

Comments
 (0)