Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: api config + optional tx_hash status res #22

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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