@@ -16,7 +16,7 @@ import {
16
16
import { generateSalt } from " @unionlabs/sdk/utils"
17
17
import { getConnectorClient , http , type GetConnectorClientErrorType } from " @wagmi/core"
18
18
import { createViemPublicClient , createViemWalletClient } from " @unionlabs/sdk/evm"
19
- import {custom , encodeAbiParameters , fromHex , toHex } from " viem"
19
+ import { custom , encodeAbiParameters , fromHex , toHex } from " viem"
20
20
import { wagmiConfig } from " $lib/wallet/evm/wagmi-config.ts"
21
21
import { wallets } from " $lib/stores/wallets.svelte.ts"
22
22
import { getCosmWasmClient } from " $lib/services/cosmos/clients.ts"
@@ -31,7 +31,7 @@ import { isValidBech32ContractAddress } from "$lib/utils"
31
31
import Label from " $lib/components/ui/Label.svelte"
32
32
import ChainComponent from " $lib/components/model/ChainComponent.svelte"
33
33
import InsetError from " $lib/components/model/InsetError.svelte"
34
- import type {SubmitInstruction } from " $lib/transfer/normal/steps/steps.ts" ;
34
+ import type { SubmitInstruction } from " $lib/transfer/normal/steps/steps.ts"
35
35
36
36
type Props = {
37
37
stepIndex: number
@@ -173,13 +173,13 @@ export const submit = Effect.gen(function* () {
173
173
cosmosStore .connectedWallet
174
174
)
175
175
176
- console .log (' here stop' ,step .intent .baseToken )
177
- const sender = yield * step .intent .sourceChain .getDisplayAddress (wallets .cosmosAddress .value )
178
- const isNative = ! isValidBech32ContractAddress (
179
- step .intent .baseToken
176
+ console .log (" here stop" , step .intent .baseToken )
177
+ const sender = yield * step .intent .sourceChain .getDisplayAddress (
178
+ wallets .cosmosAddress .value
180
179
)
180
+ const isNative = ! isValidBech32ContractAddress (step .intent .baseToken )
181
181
182
- console .log ({isNative })
182
+ console .log ({ isNative })
183
183
184
184
do {
185
185
const timeout_timestamp = getTimeoutInNanoseconds24HoursFromNow ().toString ()
@@ -206,11 +206,11 @@ export const submit = Effect.gen(function* () {
206
206
},
207
207
isNative
208
208
? [
209
- {
210
- denom: step .intent .baseToken ,
211
- amount: step .intent .baseAmount .toString ()
212
- }
213
- ]
209
+ {
210
+ denom: step .intent .baseToken ,
211
+ amount: step .intent .baseAmount .toString ()
212
+ }
213
+ ]
214
214
: undefined
215
215
)
216
216
)
0 commit comments