Skip to content

Commit e9ba8b3

Browse files
Harman-singh-waraichjaybuidl
authored andcommitted
fix(web-devtools): incorrect-wagmi-config
1 parent 1bbb3c4 commit e9ba8b3

File tree

3 files changed

+2
-32
lines changed

3 files changed

+2
-32
lines changed

web-devtools/src/context/Web3Provider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ if (!projectId) {
7272
throw new Error("WalletConnect project ID is not set in NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID environment variable.");
7373
}
7474

75-
const wagmiConfig = createConfig({
75+
export const wagmiConfig = createConfig({
7676
chains,
7777
transports,
7878
connectors: [walletConnect({ projectId })],

web-devtools/src/utils/getDisputeRequestParamsFromTxn.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { getPublicClient } from "@wagmi/core";
22
import { type GetTransactionReceiptReturnType, decodeEventLog, getEventSelector } from "viem";
33

4+
import { wagmiConfig } from "context/Web3Provider";
45
import { iArbitrableV2Abi } from "hooks/contracts/generated";
56
import { isUndefined } from "utils/isUndefined";
6-
import { wagmiConfig } from "utils/wagmiConfig";
77

88
export const getDisputeRequestParamsFromTxn = async (hash: `0x${string}`, chainId: number) => {
99
try {

web-devtools/src/utils/wagmiConfig.ts

-30
This file was deleted.

0 commit comments

Comments
 (0)