@@ -4,7 +4,7 @@ import { parse, join } from "path";
4
4
import { type Config , type ContractConfig , defineConfig } from "@wagmi/cli" ;
5
5
import { react , actions } from "@wagmi/cli/plugins" ;
6
6
import dotenv from "dotenv" ;
7
- import { type Chain } from "viem" ;
7
+ import { type Chain , type Abi } from "viem" ;
8
8
import { arbitrum , arbitrumSepolia , gnosis , gnosisChiado , mainnet , sepolia } from "viem/chains" ;
9
9
10
10
import 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
71
71
address : {
72
72
[ chain . id ] : jsonContent . address as `0x{string}`,
73
73
} ,
74
- abi : jsonContent . abi ,
74
+ abi : jsonContent . abi as Abi ,
75
75
} ) ;
76
76
}
77
77
}
@@ -115,11 +115,11 @@ const getConfig = async (): Promise<Config> => {
115
115
...deploymentContracts ,
116
116
{
117
117
name : "IHomeGateway" ,
118
- abi : arbitratorContracts . iHomeGatewayAbi ,
118
+ abi : arbitratorContracts . iHomeGatewayAbi as Abi ,
119
119
} ,
120
120
{
121
121
name : "IArbitrableV2" ,
122
- abi : IArbitrableV2 . abi ,
122
+ abi : IArbitrableV2 . abi as Abi ,
123
123
} ,
124
124
] ,
125
125
plugins : [ react ( ) , actions ( ) ] ,
0 commit comments