Skip to content

Commit

Permalink
fix(web-devtools): incorrect-wagmi-config
Browse files Browse the repository at this point in the history
  • Loading branch information
Harman-singh-waraich authored and jaybuidl committed Dec 20, 2024
1 parent 1bbb3c4 commit e9ba8b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
2 changes: 1 addition & 1 deletion web-devtools/src/context/Web3Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if (!projectId) {
throw new Error("WalletConnect project ID is not set in NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID environment variable.");
}

const wagmiConfig = createConfig({
export const wagmiConfig = createConfig({
chains,
transports,
connectors: [walletConnect({ projectId })],
Expand Down
2 changes: 1 addition & 1 deletion web-devtools/src/utils/getDisputeRequestParamsFromTxn.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { getPublicClient } from "@wagmi/core";
import { type GetTransactionReceiptReturnType, decodeEventLog, getEventSelector } from "viem";

import { wagmiConfig } from "context/Web3Provider";
import { iArbitrableV2Abi } from "hooks/contracts/generated";
import { isUndefined } from "utils/isUndefined";
import { wagmiConfig } from "utils/wagmiConfig";

export const getDisputeRequestParamsFromTxn = async (hash: `0x${string}`, chainId: number) => {
try {
Expand Down
30 changes: 0 additions & 30 deletions web-devtools/src/utils/wagmiConfig.ts

This file was deleted.

0 comments on commit e9ba8b3

Please sign in to comment.