Skip to content

Commit

Permalink
fix typechain ethers-v6 generate wrong types
Browse files Browse the repository at this point in the history
Unfortunately there is a bug in typechain and we get some name clashes in the generated code. There is a PR that fixes this, but until it gets merged I’ve added a patch.
More info on the name clash:
dethcrypto/TypeChain#887

Once this PR is merged the patch could be removed.
  • Loading branch information
compojoom committed Jan 11, 2024
1 parent d590ecf commit ba58580
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 11 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"prepare": "yarn generate:types && yarn build",
"prerelease": "yarn clean && yarn build && yarn build:sdk",
"release": "yarn publish --access public",
"verify": "yarn hardhat verify --network"
"verify": "yarn hardhat verify --network",
"postinstall": "patch-package"
},
"directories": {
"test": "test"
Expand Down Expand Up @@ -76,14 +77,15 @@
"hardhat-deploy": "^0.11.28",
"hardhat-gas-reporter": "^1.0.9",
"husky": "^8.0.1",
"patch-package": "^8.0.0",
"prettier": "^3.0.3",
"prettier-plugin-solidity": "^1.1.3",
"rimraf": "^5.0.1",
"solhint": "^4.0.0",
"solhint-plugin-prettier": "^0.1.0",
"solidity-coverage": "^0.8.4",
"ts-node": "^10.9.1",
"typechain": "^8.3.0",
"typechain": "^8.3.2",
"typescript": "^5.2.2",
"yargs": "^17.6.0"
},
Expand Down
Loading

0 comments on commit ba58580

Please sign in to comment.