Today is day 3 of my 30 day solidity journey with https://github.com/scaffold-eth/scaffold-eth
I finally deployed a contract
I changed my process
I was tired and kept it simple.
I fired up 3 iterms, set an alias to my directory and ran my three yarn commands: yarn build, yarn start and yarn deploy
I wanted to avoid the proliferation of node processes I had yesterday
I replaced the current YourContract.sol via cut and paste from the primitives data point sample.
Then I ran yarn deploy AND IT FAILED
The default version of hardhat was using a different version of solidity.
So I edited the config and updated it to use the version in my contract
yarn deploy AGAIN and SUCCESS
What did I learn?
Sometimes when you do the least you make the most progress, but only if you have been making progress every day along the way.