Skip to content

Commit

Permalink
CSpell, format, lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt committed Mar 4, 2025
1 parent 7408947 commit 821f9a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/typescript/sdk/src/types/arena-types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ArenaPeriod, Period } from "../const";
import type { ArenaPeriod } from "../const";
import { type SymbolEmoji } from "../emoji_data";
import { type AccountAddressString } from "../emojicoin_dot_fun";
import {
Expand Down
8 changes: 4 additions & 4 deletions src/typescript/sdk/tests/e2e/arena/candlesticks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe("ensures arena candlesticks work", () => {
// We have to swap with the accounts that registered the markets as the
// markets were never traded on and can be in the grace period.
//
// The market registrant can either be 0xfood if the market is one of
// The market registrant can either be 0xf00d if the market is one of
// the two initial markets, or one of the funded accounts (0x000 to 0xfff).

const registrant0: string = await postgrest
Expand Down Expand Up @@ -273,7 +273,7 @@ describe("ensures arena candlesticks work", () => {

await waitForNew15sPeriodBoundary();

// This swap should happen in the next candlestick boundry, so it should generate a new one.
// This swap should happen in the next candlestick boundary, so it should generate a new one.

await waitForProcessor(
await emojicoin.arena.swap(account2, melee.market1.symbolEmojis, melee.market2.symbolEmojis)
Expand Down Expand Up @@ -319,7 +319,7 @@ describe("ensures arena candlesticks work", () => {
//
// Then, there is a swap (buy) on market B, where APT is sold for emojicoin B.
//
// This markes the price of emojicoin B go up to 1.01.
// This marks the price of emojicoin B go up to 1.01.
//
// The A/B price is now ~0.98 (0.99 / 1.01).
//
Expand All @@ -329,7 +329,7 @@ describe("ensures arena candlesticks work", () => {
// intermediary price of 1.01.
//
// Because of this, despite there only being one "arena swap" in this
// candlestick time boundry, there are two different prices for low/high
// candlestick time boundary, there are two different prices for low/high
// and for open/close.

const intermediaryExpectedPrice = calculatePrice(state0!, oldSwap1);
Expand Down
4 changes: 1 addition & 3 deletions src/typescript/sdk/tests/unit/address-derivation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ describe("it derives emojicoin addresses", () => {

const emojis: Array<SymbolEmoji> = ["🦓", "🧟"];
const derivedNamedObjectFromRawEmojis = getMarketAddress(emojis, registryAddress);
expect(derivedNamedObjectFromRawEmojis.toString()).toEqual(
expectedObjectAddress.toString()
);
expect(derivedNamedObjectFromRawEmojis.toString()).toEqual(expectedObjectAddress.toString());
});
});

0 comments on commit 821f9a4

Please sign in to comment.