Comments (3)
Thanks for the report. The fix was deployed as [email protected]
, I also added tests that should cover it in future. I would appreciate a note if this solved your problems.
What is happening is that '--force' argument is deprecated.
Typechain 0.3.x is based on ts-generator
project. I decided that having --force
is not a good option since it should be default settings (and you should never commit generated files etc.). Implementing it in ts-generator
would require additional work so I just skipped it. I know that it's a breaking change but very minor one and we still didnt hit 1.0 so it's expected IMO that things like this could happen.
Please write some CHANGELOG or somewhere inside the REPO what is changed for example it is important if you decide to remove --force to write it somewhere.
It's already there :) https://github.com/krzkaczor/TypeChain/blob/master/CHANGELOG.md
I hope that next time updating Typechain will be a smoother process.
from typechain.
Also when i try to install it globally with NODE 10.^ it is not installing with the same error.
from typechain.
@krzkaczor awesome man i agree 100% with you !!! I will check for changelogs more carefully next time !!
Thank you very much!
Just for let you know again i love your work! :)
from typechain.
Related Issues (20)
- Update Contributing file
- getting wrong type after .connect() HOT 1
- 'type' folder layout changed and unable to import type for ethers.
- Overrides for `staticCall` and `staticCallResult` should always be viewOverrides in ethers-v6
- ethers-v6: wrong type generated for listening to contract events HOT 5
- Use branded type instead of string for addresses
- explicit contract method args
- Accessing `factoryInstance.interface` should return the exact contract interface type
- Upgrade js-sha3 to audited sha3 library
- Types are not generated if hardhat config file is not typescript
- typechain-hardhat does not consider hardhat 'sources' config
- TypeScript: 'interface' is a reserved word in strict mode HOT 1
- Generated types are broken if contract function names clash with ethers built-ins
- I want to use strict type to get contract response HOT 1
- ethers-v6: AddressLike in encodeFunctionData is incorrect
- //cloud3@ethnet
- How to use zksync-ethers with typechain?
- CLI Doesn't work with vite-dts, export syntax too new
- the generated ERC20__factory does not have deploy method
- Support zksync HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typechain.