File tree 9 files changed +239
-9
lines changed
9 files changed +239
-9
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ const chainIdToNameMap: { [chainId: string]: string } = {
8
8
4002 : 'kujira' ,
9
9
4003 : 'neutron' ,
10
10
4004 : 'celestia' ,
11
+ 4005 : 'stargaze' ,
12
+ 4006 : 'seda' ,
13
+ 4007 : 'dymension' ,
11
14
} ;
12
15
const chainIdToName = ( chainId : number ) => chainIdToNameMap [ chainId ] || 'Unknown' ;
13
16
export default chainIdToName ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import bscIcon from '../images/bsc.svg';
9
9
import celestiaIcon from '../images/celestia.svg' ;
10
10
import celoIcon from '../images/celo.svg' ;
11
11
import cosmoshubIcon from '../images/cosmoshub.svg' ;
12
+ import dymensionIcon from '../images/dymension2.svg' ;
12
13
import ethIcon from '../images/eth.svg' ;
13
14
import evmosIcon from '../images/evmos.svg' ;
14
15
import fantomIcon from '../images/fantom.svg' ;
@@ -27,8 +28,10 @@ import osmosisIcon from '../images/osmosis.svg';
27
28
import polygonIcon from '../images/polygon.svg' ;
28
29
import pythnetIcon from '../images/pyth_logomark_white.svg' ;
29
30
import scrollIcon from '../images/scroll.svg' ;
31
+ import sedaIcon from '../images/seda.svg' ;
30
32
import seiIcon from '../images/sei.svg' ;
31
33
import solanaIcon from '../images/solana.svg' ;
34
+ import stargazeIcon from '../images/stargaze_white.svg' ;
32
35
import suiIcon from '../images/sui.svg' ;
33
36
import terraIcon from '../images/terra.svg' ;
34
37
import terra2Icon from '../images/terra2.svg' ;
@@ -76,6 +79,9 @@ export const CHAIN_ICON_MAP: { [key: string]: string } = {
76
79
4002 : kujiraIcon ,
77
80
4003 : neutronIcon ,
78
81
4004 : celestiaIcon ,
82
+ 4005 : stargazeIcon ,
83
+ 4006 : sedaIcon ,
84
+ 4007 : dymensionIcon ,
79
85
10002 : ethIcon ,
80
86
10003 : arbitrumIcon ,
81
87
10004 : baseIcon ,
Original file line number Diff line number Diff line change 15
15
" database"
16
16
],
17
17
"dependencies" : {
18
- "@certusone/wormhole-sdk" : " ^0.10.8 "
18
+ "@certusone/wormhole-sdk" : " ^0.10.10 "
19
19
},
20
20
"devDependencies" : {
21
21
"prettier" : " ^2.8.1" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const TIMEOUT = 0.5 * 1000;
28
28
export const RPCS_BY_CHAIN : { [ key in Environment ] : { [ key in ChainName ] ?: string } } = {
29
29
[ 'mainnet' ] : {
30
30
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' ,
32
32
polygon : process . env . POLYGON_RPC || 'https://rpc.ankr.com/polygon' ,
33
33
avalanche : process . env . AVALANCHE_RPC || 'https://rpc.ankr.com/avalanche' ,
34
34
oasis : process . env . OASIS_RPC || 'https://emerald.oasis.dev' ,
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export class Watcher {
56
56
let retry = 0 ;
57
57
while ( true ) {
58
58
try {
59
+ this . logger . debug ( `fromBlock = ${ fromBlock } , toBlock = ${ toBlock } ` ) ;
59
60
if ( fromBlock !== null && toBlock !== null && fromBlock <= toBlock ) {
60
61
// fetch logs for the block range, inclusive of toBlock
61
62
toBlock = Math . min ( fromBlock + this . maximumBatchSize - 1 , toBlock ) ;
@@ -67,6 +68,7 @@ export class Watcher {
67
68
try {
68
69
this . logger . info ( 'fetching finalized block' ) ;
69
70
toBlock = await this . getFinalizedBlockNumber ( ) ;
71
+ this . logger . debug ( `finalized block = ${ toBlock } ` ) ;
70
72
if ( fromBlock === null ) {
71
73
// handle first loop on a fresh chain without initial block set
72
74
fromBlock = toBlock ;
You can’t perform that action at this time.
0 commit comments