Problem in L5 deploy.js deploy contract not printing contract details like in the video #6693
Replies: 3 comments 1 reply
-
I'm having the same problem |
Beta Was this translation helpful? Give feedback.
-
Seems like for some reason the version of solidity you're using is causing issues... change the solidity version in your SimpleStorage.sol to
and then go ahead and upgrade the solidity compiler in your terminal by running
and then finally you want to go ahead delete both the SimpleStorage abi and bin files, making sure to recompile with
Should be good after that! Let me know if that works for you... |
Beta Was this translation helpful? Give feedback.
-
Alright man
It's going to take a while for me to get to my setup
I'd check and text you back
…On Tue, 10 Dec 2024 at 07:29, wasim007choudhary ***@***.***> wrote:
Seems like for some reason the version of solidity you're using is causing
issues... change the solidity version in your SimpleStorage.sol to
solidity 0.8.19;
and then go ahead and upgrade the solidity compiler in your terminal by
running
npm install --save-dev ***@***.***
and then finally you want to go ahead delete both the SimpleStorage abi
and bin files, making sure to recompile with
npx solcjs --bin --abi --include-path node_modules/ --base-path . -o .
SimpleStorage.sol
Should be good after that! Let me know if that works for you...
—
Reply to this email directly, view it on GitHub
<#6693 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3WERWRKBNOQZTQVUWQXYFD2E2C3FAVCNFSM6AAAAABLOQKIPSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJRGY2DEMI>
.
You are receiving this because you commented.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/6693/comments/11516421
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi there,
Im having issue after
contractFactory.deploy
then printing the contract. It is just showing me this rather than the json contractHere is my code:
The connection to Ganache is available, not sure why this is happening, please help!
Beta Was this translation helpful? Give feedback.
All reactions