Skip to content

Lesson 5 - Deploying contract on Ganache: Runtime Error, invalid opcode #5706

Closed Answered by LouisHatte
LouisHatte asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, before I used solidity version ^0.8.18 and solc version in my package.json was ^0.8.20.
Downgrading my solidity version to ^0.8.7 and solc version to ^0.8.8 solved my issue.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
1 reply
@akhil1g
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants