From 7eb97d1c766793b6084d1190c3f91c38f9b8d761 Mon Sep 17 00:00:00 2001 From: aitbc Date: Sun, 19 Apr 2026 17:56:18 +0200 Subject: [PATCH] fix: remove @typechain/hardhat and typechain to resolve ethers v5/v6 conflict Removed @typechain/hardhat and typechain dependencies since they are not used in hardhat.config.ts and cause peer dependency conflicts between ethers v5 (required by @typechain/ethers-v5) and ethers v6 (used by the project). --- packages/solidity/aitbc-token/package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/solidity/aitbc-token/package.json b/packages/solidity/aitbc-token/package.json index 6749e740..a8f400ee 100644 --- a/packages/solidity/aitbc-token/package.json +++ b/packages/solidity/aitbc-token/package.json @@ -19,7 +19,6 @@ "@nomicfoundation/hardhat-toolbox": "7.0.0-hh2", "@nomicfoundation/hardhat-verify": "^3.0.13", "@typechain/ethers-v6": "^0.5.1", - "@typechain/hardhat": "^6.0.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.10", "@types/node": "^20.11.30", @@ -31,7 +30,6 @@ "prettier": "^3.2.5", "solidity-coverage": "^0.8.4", "ts-node": "^10.9.2", - "typechain": "^8.3.2", "typescript": "^5.9.2" }, "dependencies": {