Lesson 5 : contractFactory.deploy() Solution to Invalid opcode #6271
0BAB1
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
It was answered in #5706 |
Beta Was this translation helpful? Give feedback.
1 reply
-
adding gas limit worked for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I do not know if this was addressed before but i did not find anything relevant so here is a solution i found for this error :
it comes with a gas estimation fail and nothing updates in ganache (normal as our transaction was .. well.. rejected).
The idea is to add a gasLimit like so :
Hope it helps someone not to lose 20mins
Beta Was this translation helpful? Give feedback.
All reactions