File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ VITE_NETWORK=mainnet
77VITE_GQL_PROXY = https://gql-proxy.subquery.network
88VITE_NETWORK_DEPLOYMENT_ID = QmQqqmwwaBben8ncfHo3DMnDxyWFk5QcEdTmbevzKj7DBd
99VITE_PROXYGATEWAY = https://gateway.subquery.network
10- VITE_SUBQUERY_OFFICIAL_BASE_RPC = https://base.rpc.subquery.network/public
11- VITE_SUBQUERY_OFFICIAL_ETH_RPC = https://ethereum.rpc.subquery.network/public
1210VITE_AI_URL = https://ai-reaction-backend.subquery.network/ai-network/v1/chat/completions
1311VITE_AI_REACTION_URL = https://ai-reaction-backend.subquery.network
1412VITE_CONSUMER_CAMPAIGN_URL = https://consumer-campaign-api.subquery.network
Original file line number Diff line number Diff line change 1111 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID_PROD }}
1212 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY_PROD }}
1313 VITE_SENTRY_DSN : ${{ vars.DEV_SENTRY_DSN }}
14+ VITE_SUBQUERY_OFFICIAL_BASE_RPC : ${{ vars.VITE_SUBQUERY_OFFICIAL_BASE_RPC }}
15+ VITE_SUBQUERY_OFFICIAL_ETH_RPC : ${{ vars.VITE_SUBQUERY_OFFICIAL_ETH_RPC }}
1416 NODE_OPTIONS : --max-old-space-size=32768
1517 steps :
1618 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -143,7 +143,9 @@ const BridgeInner: FC = () => {
143143 const initCrossChainMessenger = async ( ) => {
144144 if ( ! signer ) return ;
145145 const { CrossChainMessenger } = await import ( '@eth-optimism/sdk/src/cross-chain-messenger' ) ;
146- const l2Provider = new ethers . providers . JsonRpcProvider ( l2Chain . rpcUrls . default . http [ 0 ] ) ;
146+ const l2Provider = new ethers . providers . JsonRpcProvider (
147+ import . meta. env . VITE_SUBQUERY_OFFICIAL_BASE_RPC || l2Chain . rpcUrls . default . http [ 0 ] ,
148+ ) ;
147149 const newCrossChainMessenger = new CrossChainMessenger ( {
148150 l1ChainId : l1Chain . id ,
149151 l2ChainId : l2Chain . id ,
@@ -407,7 +409,7 @@ const BridgeInner: FC = () => {
407409 useInterval ( async ( ) => {
408410 await withdrawsRecord . refetch ( ) ;
409411 fetchPendingActionStatus ( ) ;
410- } , 10000 ) ;
412+ } , 30000 ) ;
411413
412414 return (
413415 < div className = { styles . bridgeOutter } >
You can’t perform that action at this time.
0 commit comments