From 7277bef2b175c754f250a2701d0b0c7b0285c79a Mon Sep 17 00:00:00 2001 From: Noy <59097122+noyyyy@users.noreply.github.com> Date: Thu, 7 Dec 2023 17:34:12 +0800 Subject: [PATCH] fix: path in script on contract --- packages/contracts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 3f6db96a..65fcbb1b 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi-ts": "mud abi-ts --input 'out/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", "build:mud": "mud tablegen && mud worldgen", "deploy:local": "pnpm run build && mud deploy", "deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet", @@ -38,4 +38,4 @@ "solhint-config-mud": "2.0.0-next.14", "solhint-plugin-mud": "2.0.0-next.14" } -} +} \ No newline at end of file