Skip to content

Commit de63417

Browse files
authored
Merge branch 'main' into bing/historical-uptime-db-cleanup
2 parents 6f4de3b + 56682dd commit de63417

File tree

9 files changed

+239
-9
lines changed

9 files changed

+239
-9
lines changed

dashboard/src/images/dymension2.svg

+142
Loading

dashboard/src/images/seda.svg

+76
Loading
+1
Loading

dashboard/src/utils/chainIdToName.ts

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const chainIdToNameMap: { [chainId: string]: string } = {
88
4002: 'kujira',
99
4003: 'neutron',
1010
4004: 'celestia',
11+
4005: 'stargaze',
12+
4006: 'seda',
13+
4007: 'dymension',
1114
};
1215
const chainIdToName = (chainId: number) => chainIdToNameMap[chainId] || 'Unknown';
1316
export default chainIdToName;

dashboard/src/utils/consts.ts

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import bscIcon from '../images/bsc.svg';
99
import celestiaIcon from '../images/celestia.svg';
1010
import celoIcon from '../images/celo.svg';
1111
import cosmoshubIcon from '../images/cosmoshub.svg';
12+
import dymensionIcon from '../images/dymension2.svg';
1213
import ethIcon from '../images/eth.svg';
1314
import evmosIcon from '../images/evmos.svg';
1415
import fantomIcon from '../images/fantom.svg';
@@ -27,8 +28,10 @@ import osmosisIcon from '../images/osmosis.svg';
2728
import polygonIcon from '../images/polygon.svg';
2829
import pythnetIcon from '../images/pyth_logomark_white.svg';
2930
import scrollIcon from '../images/scroll.svg';
31+
import sedaIcon from '../images/seda.svg';
3032
import seiIcon from '../images/sei.svg';
3133
import solanaIcon from '../images/solana.svg';
34+
import stargazeIcon from '../images/stargaze_white.svg';
3235
import suiIcon from '../images/sui.svg';
3336
import terraIcon from '../images/terra.svg';
3437
import terra2Icon from '../images/terra2.svg';
@@ -76,6 +79,9 @@ export const CHAIN_ICON_MAP: { [key: string]: string } = {
7679
4002: kujiraIcon,
7780
4003: neutronIcon,
7881
4004: celestiaIcon,
82+
4005: stargazeIcon,
83+
4006: sedaIcon,
84+
4007: dymensionIcon,
7985
10002: ethIcon,
8086
10003: arbitrumIcon,
8187
10004: baseIcon,

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"database"
1616
],
1717
"dependencies": {
18-
"@certusone/wormhole-sdk": "^0.10.8"
18+
"@certusone/wormhole-sdk": "^0.10.10"
1919
},
2020
"devDependencies": {
2121
"prettier": "^2.8.1",

watcher/src/consts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const TIMEOUT = 0.5 * 1000;
2828
export const RPCS_BY_CHAIN: { [key in Environment]: { [key in ChainName]?: string } } = {
2929
['mainnet']: {
3030
ethereum: process.env.ETH_RPC,
31-
bsc: process.env.BSC_RPC || 'https://rpc.ankr.com/bsc',
31+
bsc: process.env.BSC_RPC || 'https://bsc.publicnode.com',
3232
polygon: process.env.POLYGON_RPC || 'https://rpc.ankr.com/polygon',
3333
avalanche: process.env.AVALANCHE_RPC || 'https://rpc.ankr.com/avalanche',
3434
oasis: process.env.OASIS_RPC || 'https://emerald.oasis.dev',

watcher/src/watchers/Watcher.ts

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export class Watcher {
5656
let retry = 0;
5757
while (true) {
5858
try {
59+
this.logger.debug(`fromBlock = ${fromBlock}, toBlock = ${toBlock}`);
5960
if (fromBlock !== null && toBlock !== null && fromBlock <= toBlock) {
6061
// fetch logs for the block range, inclusive of toBlock
6162
toBlock = Math.min(fromBlock + this.maximumBatchSize - 1, toBlock);
@@ -67,6 +68,7 @@ export class Watcher {
6768
try {
6869
this.logger.info('fetching finalized block');
6970
toBlock = await this.getFinalizedBlockNumber();
71+
this.logger.debug(`finalized block = ${toBlock}`);
7072
if (fromBlock === null) {
7173
// handle first loop on a fresh chain without initial block set
7274
fromBlock = toBlock;

0 commit comments

Comments
 (0)