Skip to content

Commit 29895e9

Browse files
committed
chore: fmt
1 parent 5e319ce commit 29895e9

File tree

6 files changed

+39
-40
lines changed

6 files changed

+39
-40
lines changed

pnpm-lock.yaml

+30-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts-sdk/src/ucs03/fungible-asset-order.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { toHex, type Address, type Hex } from "viem"
2-
import { Effect, pipe, Schema as S } from "effect"
32
import * as Either from "effect/Either"
4-
import { Effect, Schema as S, Array as Arr, Struct, Option, pipe } from "effect"
3+
import { Effect, Schema as S, Option, pipe } from "effect"
54
import { ViemPublicClient, ViemPublicClientSource } from "../evm/client.js"
65
import { readErc20Meta } from "../evm/erc20.js"
76
import { predictQuoteToken as predictEvmQuoteToken } from "../evm/quote-token.js"
@@ -14,10 +13,10 @@ import { predictQuoteToken as predictAptosQuoteToken } from "../aptos/quote-toke
1413
import { FungibleAssetOrder } from "./instruction.js"
1514
import type { AddressCosmosZkgm, AddressEvmZkgm } from "../schema/address.js"
1615
import { ensureHex } from "../utils/index.js"
17-
import { TokenRawDenom } from "../schema/token.js"
16+
import type { TokenRawDenom } from "../schema/token.js"
1817
import { graphqlQuoteTokenUnwrapQuery } from "../graphql/unwrapped-quote-token.js"
19-
import { UniversalChainId } from "../schema/chain.js"
20-
import { ChannelId } from "../schema/channel.js"
18+
import type { UniversalChainId } from "../schema/chain.js"
19+
import type { ChannelId } from "../schema/channel.js"
2120

2221
export type FungibleAssetOrderIntent = {
2322
sender: Address

ts-sdk/src/utils/graphql-query.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Effect, Option, pipe, Schema } from "effect"
2-
import { FetchHttpClient, HttpClient } from "@effect/platform"
1+
import { Effect, Schema } from "effect"
2+
import { HttpClient } from "@effect/platform"
33
// import type { DurationInput } from "effect/Duration"
44
// import type { HttpClientError } from "@effect/platform/HttpClientError"
55
import type { ParseError } from "effect/ParseResult"
@@ -8,7 +8,6 @@ import { request } from "graphql-request"
88
import { GRAPHQL_URL } from "../constants/graphql.js"
99
import type { TimeoutException, UnknownException } from "effect/Cause"
1010

11-
1211
// Deprecated, use the one from ts-sdk
1312
export const fetchDecode = <S>(schema: Schema.Schema<S>, url: string) =>
1413
Effect.gen(function* () {

ts-sdk/test/evm/fungible-asset-order.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const CosmosToCosmosError = Layer.mergeAll(
167167
} as unknown as Context.Tag.Service<CosmWasmClientSource>)
168168
)
169169

170-
describe.skip("Fungible Asset Order Tests", () => {
170+
describe("Fungible Asset Order Tests", () => {
171171
it.layer(EvmToEvm)("EVM to EVM", it => {
172172
it.effect("should create a fungible asset order from EVM to EVM", () =>
173173
Effect.gen(function* () {

ts-sdk/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
}
2525
]
2626
}
27-
}
27+
}

typos.toml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ files.extend-exclude = [
4444
"moonlight-ii.json",
4545
"app/src/generated",
4646
"app2/src/generated",
47+
"ts-sdk/src/generated",
4748
"typescript-sdk/src/generated",
4849
"app/scripts/_index.ts",
4950
"lib/pg-queue/migrations",

0 commit comments

Comments
 (0)