smartcontractkit / full-blockchain-solidity-course-js

Learn Blockchain, Solidity, and Full Stack Web3 Development with Javascript
12.01k stars 2.91k forks source link

I encountered an error when deploying the contract to ganache #5999

Open yeamu opened 11 months ago

yeamu commented 11 months ago

Lesson

Lesson 5

Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")

No response

Operating System

Windows

Describe the bug

Error: missing revert data (action="estimateGas", data=null, reason=null, transaction={ "data": "0x363038303630343035323334383031353631303031303537363030303830666435623530363130393362383032........", "to": null }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.7.0)}
escX commented 9 months ago

I had same problem, and I resolve it finally. Try install solc@0.8.7-fixed and use solidity 0.8.7 version.