Skip to content

Commit

Permalink
chore: api config + optional tx_hash status res (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
R0bi7 authored Nov 19, 2024
1 parent d76eb29 commit 3b0cb77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { ChainConfig, ChainName, EvmChainConfig, SuiChainConfig } from "./t

export const DEFAULT_MAX_RETRY = 3
export const DEFAULT_RETRY_DELAY_MS = 2000
export const SOLVER_API_ENDPOINT = "localhost:3000" // TODO
export const SOLVER_API_ENDPOINT = "http://34.224.47.185" // TODO - replace with the production one

export const chainConfig: Record<ChainName, ChainConfig> = {
["arb"]: {
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export type IntentStatusRequest = {

export type IntentStatusResponse = {
status: IntentStatusCode
tx_hash: string
tx_hash?: string // defined only if status is 3
}

export type CreateIntentOrderPayload = {
Expand Down

0 comments on commit 3b0cb77

Please sign in to comment.