File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 },
4141 "devDependencies" : {
4242 "@biomejs/biome" : " ^2.2.4" ,
43- "@cartesi/devnet" : " 2.0.0-alpha.8 " ,
43+ "@cartesi/devnet" : " workspace:* " ,
4444 "@cartesi/rollups" : " 2.1.1" ,
4545 "@types/bun" : " ^1.3.5" ,
4646 "@types/bytes" : " ^3.1.5" ,
Original file line number Diff line number Diff line change 11import { type Plugin , defineConfig } from "@wagmi/cli" ;
22import { readFileSync , readdirSync } from "node:fs" ;
33import path from "node:path" ;
4- import type { Abi } from "viem" ;
5-
6- const DataAvailability = JSON . parse (
7- readFileSync (
8- "node_modules/@cartesi/rollups/out/DataAvailability.sol/DataAvailability.json" ,
9- "utf8" ,
10- ) ,
11- ) ;
124
135interface CannonOptions {
146 directory : string ;
@@ -67,16 +59,9 @@ const cannonDeployments = (config: CannonOptions): Plugin => {
6759
6860export default defineConfig ( {
6961 out : "src/contracts.ts" ,
70- contracts : [
71- {
72- name : "DataAvailability" ,
73- abi : DataAvailability . abi as Abi ,
74- } ,
75- ] ,
7662 plugins : [
7763 cannonDeployments ( {
7864 directory : "node_modules/@cartesi/devnet/deployments" ,
79- includes : [ / ^ c a r t e s i * / , / ^ T e s t * / ] ,
8065 } ) ,
8166 ] ,
8267} ) ;
You can’t perform that action at this time.
0 commit comments