Hi Oliver, Thank you for this great introduction tutorial.
Performing this code and test in February 2022, it is interesting to see how much Solidity and its testing libraries have changed.
When I follow your code to import the required libraries, they appear as updated versions, which is rightfully expected. What's interesting is that with the updated versions, the tests do not run. My code compiles, but 0 tests pass.
When I copy your code exactly so that the previous "old" versions are input instead, everything works as intended.
I understand that libraries can get outdated and old versions may not work with newer updates. I'm just surprised that your post is not even a year old, and already the code is outdated for a 2022 test.
Thank you again for your guidance.
Thanks, Oliver for this wonderful article. I had a problem while following the instructions step by step. When I executed this command: npm install --save-dev @nomiclabs/hardhat-waffle @nomiclabs/hardhat-ethers ethereum-waffle chai ethers solidity-coverage, I got an error saying: Error: Cannot find module 'C:\Users\DELL\OneDrive\Documents\node-gyp-build\bin.js'. I did a little bit of google searching to fix the problem but nothing worked out, so am stuck at this step. I don't know if you know what I can do to fix it. Thanks once again.
thanks for the article. I am using truffle suite for development. I will definitely try this approach too.
This is AWESOME, Oliver! Helps so much with getting started with smart contracts, especially as someone who wants to eventually take it into the freelance/professional world.
When I make my first $$ from solidity, I'm giving you a major shoutout!
herman aviu
Love your vibe man! I'm new to the web 3.0 and everything so I appreciate how you break things down to terms a newbie can somewhat understand :-).