From 284e8629a369bd22a9a96ca7c3f1cc0dc57db09a Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Mon, 18 Sep 2023 10:32:41 +0100 Subject: [PATCH 1/2] update package --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index db14afac..d58434d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chatweb3-frontend", - "version": "0.1.4", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev", From d6d7b51838209190473918c1945a4f9ce1ced569 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 20 Sep 2023 18:23:04 +0100 Subject: [PATCH 2/2] connectToMainnet_prod --- src/contexts/ConnectionWrapper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contexts/ConnectionWrapper.tsx b/src/contexts/ConnectionWrapper.tsx index 5835478a..4f4948b1 100644 --- a/src/contexts/ConnectionWrapper.tsx +++ b/src/contexts/ConnectionWrapper.tsx @@ -11,7 +11,7 @@ import { lightTheme, } from '@rainbow-me/rainbowkit'; import axios from 'axios'; -import { Chain, WagmiConfig, configureChains, createClient, useEnsAvatar } from 'wagmi'; +import { Chain, WagmiConfig, configureChains, createClient, mainnet, useEnsAvatar } from 'wagmi'; import { goerli, zkSyncTestnet } from 'wagmi/chains'; import { jsonRpcProvider } from 'wagmi/providers/jsonRpc'; import { publicProvider } from 'wagmi/providers/public'; @@ -50,7 +50,7 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { } as Chain; const { chains, provider } = configureChains( - [mainnetFork, goerli, zkSyncTestnet], + [mainnet], [publicProvider()] );