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

Warp Rout monitoring errors when querying token prices #4866

Open
ameten opened this issue Nov 18, 2024 · 0 comments
Open

Warp Rout monitoring errors when querying token prices #4866

ameten opened this issue Nov 18, 2024 · 0 comments
Assignees

Comments

@ameten
Copy link
Contributor

ameten commented Nov 18, 2024

Problem

Warp route monitoring pods are reporting a problem with querying token prices from CoinGecko. The error is not persistent.

Context: mainnet3
Pod: hyperlane-warp-route-usdt-eclipsemainnet-ethereum-so-0

Logs:

Error when querying token prices Error: No price found for tether
    at <anonymous> (/hyperlane-monorepo/typescript/sdk/src/gas/token-prices.ts:176:25)
    at Array.map (<anonymous>)
    at CoinGeckoTokenPriceGetter.fetchPriceData (/hyperlane-monorepo/typescript/sdk/src/gas/token-prices.ts:174:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at CoinGeckoTokenPriceGetter.getTokenPriceByIds (/hyperlane-monorepo/typescript/sdk/src/gas/token-prices.ts:150:24)
    at getCoingeckoPrice (/hyperlane-monorepo/typescript/infra/scripts/warp-routes/monitor/monitor-warp-routes-balances.ts:226:18)
    at getTokenBridgedBalance (/hyperlane-monorepo/typescript/infra/scripts/warp-routes/monitor/monitor-warp-routes-balances.ts:149:18)
    at <anonymous> (/hyperlane-monorepo/typescript/infra/scripts/warp-routes/monitor/monitor-warp-routes-balances.ts:100:27)
    at tryFn (/hyperlane-monorepo/typescript/infra/scripts/warp-routes/monitor/utils.ts:7:5)
    at async Promise.all (index 0)
Wallet balance updated for token {
  labels: {
    chain_name: 'ethereum',
    token_address: '0xdac17f958d2ee523a2206206994597c13d831ec7',
    token_name: 'Tether USD',
    wallet_address: '0x647C621CEb36853Ef6A907E397Adf18568E70543',
    token_standard: 'EvmHypCollateral',
    warp_route_id: 'USDT/eclipsemainnet-ethereum-solanamainnet',
    related_chain_names: 'eclipsemainnet,solanamainnet'
  },
  balance: 4319.0016
}
Wallet balance updated for token {
  labels: {
    chain_name: 'eclipsemainnet',
    token_address: 'CEBP3CqAbW4zdZA57H2wfaSG1QNdzQ72GiQEbQXyW9Tm',
    token_name: 'USDT',
    wallet_address: '5g5ujyYUNvdydwyDVCpZwPpgYRqH5RYJRi156cxyE3me',
    token_standard: 'SealevelHypSynthetic',
    warp_route_id: 'USDT/eclipsemainnet-ethereum-solanamainnet',
    related_chain_names: 'ethereum,solanamainnet'
  },
  balance: 5723.584423
}
Wallet balance updated for token {
  labels: {
    chain_name: 'solanamainnet',
    token_address: 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB',
    token_name: 'USDT',
    wallet_address: 'Bk79wMjvpPCh5iQcCEjPWFcG1V2TfgdwaBsWBEYFYSNU',
    token_standard: 'SealevelHypCollateral',
    warp_route_id: 'USDT/eclipsemainnet-ethereum-solanamainnet',
    related_chain_names: 'eclipsemainnet,ethereum'
  },
  balance: 1404.582823
}

Solution

Investigate and see if we need to report an error here or we can retry and report an error when a few attempts fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants