Skip to content

Commit

Permalink
Increase IBC transfer status connection timeout (#3824)
Browse files Browse the repository at this point in the history
* inrease IBC transfer status connection timeout

* clean up logs
  • Loading branch information
jonator authored Sep 4, 2024
1 parent 1356272 commit ed391f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/bridge/src/ibc/transfer-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export class IbcTransferStatusProvider implements TransferStatusProvider {
* This is not related to the block height IBC timeout on chain, but rather is a catch all
* fallback to prevent indefinite waiting when there's some unforseen issue
* getting conclusive statuses from chain(s).
* Default: 60 seconds.
* Default: 3 minutes.
*/
protected readonly connectionTimeoutMs = 60 * 1000
protected readonly connectionTimeoutMs = 60 * 1000 * 3
) {}

async trackTxStatus(serializedParamsOrHash: string): Promise<void> {
Expand Down
6 changes: 0 additions & 6 deletions packages/web/components/assets/price.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ export const PriceChange: FunctionComponent<
const isBearish = priceChange.toDec().lt(new Dec(-THRESHOLD));
const isFlat = !isBullish && !isBearish;

console.log("----");
console.log("priceChange.toDec(): ", priceChange.toDec().toString());
console.log("priceChange", priceChange.toDec().toString());

// remove negative symbol since we're using arrows
if (isBearish) {
priceChange = priceChange.mul(new RatePretty(-1));
Expand All @@ -42,8 +38,6 @@ export const PriceChange: FunctionComponent<
.inequalitySymbol(false)
.toString();

console.log("priceChangeDisplay: ", priceChangeDisplay);
console.log("----");
const formattedPriceChangeDisplay =
value !== undefined ? `(${priceChangeDisplay})` : priceChangeDisplay;

Expand Down

0 comments on commit ed391f2

Please sign in to comment.