File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2929 - run : pnpm audit signatures
3030 - name : Release
3131 env :
32+ NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID : ${{ secrets.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID }}
33+ NEXT_PUBLIC_ALCHEMY_ETHEREUM_HTTP : ${{ secrets.NEXT_PUBLIC_ALCHEMY_ETHEREUM_HTTP }}
34+ NEXT_PUBLIC_ALCHEMY_ETHEREUM_KEY : ${{ secrets.NEXT_PUBLIC_ALCHEMY_ETHEREUM_KEY }}
35+ NEXT_PUBLIC_ALCHEMY_SEPOLIA_HTTP : ${{ secrets.NEXT_PUBLIC_ALCHEMY_SEPOLIA_HTTP }}
36+ NEXT_PUBLIC_ALCHEMY_SEPOLIA_KEY : ${{ secrets.NEXT_PUBLIC_ALCHEMY_SEPOLIA_KEY }}
3237 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ JWT_SECRET : ${{ secrets.JWT_SECRET }}
3339 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3440 run : npx semantic-release
Original file line number Diff line number Diff line change @@ -154,9 +154,7 @@ export const getCurrentNetworkHttpUrl = (chainId: number) => {
154154 const httpUrl = getRpcHttpUrlForNetwork . get ( chainId ) ;
155155
156156 if ( ! httpUrl ) {
157- if ( process . env . NODE_ENV === "production" )
158- throw new Error ( `No RPC URL was defined for chain ID: ${ chainId } ` ) ;
159- else console . error ( `No RPC URL was defined for chain ID: ${ chainId } ` ) ;
157+ throw new Error ( `No RPC URL was defined for chain ID: ${ chainId } ` ) ;
160158 }
161159
162160 return httpUrl ;
You can’t perform that action at this time.
0 commit comments