@@ -4,7 +4,7 @@ import { parse, join } from "path";
44import { type Config , type ContractConfig , defineConfig } from "@wagmi/cli" ;
55import { react , actions } from "@wagmi/cli/plugins" ;
66import dotenv from "dotenv" ;
7- import { type Chain } from "viem" ;
7+ import { type Chain , type Abi } from "viem" ;
88import { arbitrum , arbitrumSepolia , gnosis , gnosisChiado , mainnet , sepolia } from "viem/chains" ;
99
1010import IArbitrableV2 from "../contracts/artifacts/src/arbitration/interfaces/IArbitrableV2.sol/IArbitrableV2.json" assert { type : "json" } ;
@@ -71,7 +71,7 @@ const readArtifacts = async (type: ArbitratorTypes, viemChainName: string, hardh
7171 address : {
7272 [ chain . id ] : jsonContent . address as `0x{string}`,
7373 } ,
74- abi : jsonContent . abi ,
74+ abi : jsonContent . abi as Abi ,
7575 } ) ;
7676 }
7777 }
@@ -115,11 +115,11 @@ const getConfig = async (): Promise<Config> => {
115115 ...deploymentContracts ,
116116 {
117117 name : "IHomeGateway" ,
118- abi : arbitratorContracts . iHomeGatewayAbi ,
118+ abi : arbitratorContracts . iHomeGatewayAbi as Abi ,
119119 } ,
120120 {
121121 name : "IArbitrableV2" ,
122- abi : IArbitrableV2 . abi ,
122+ abi : IArbitrableV2 . abi as Abi ,
123123 } ,
124124 ] ,
125125 plugins : [ react ( ) , actions ( ) ] ,
0 commit comments