Skip to content

Lesson 5: Cannot deploy contract #6775

Answered by Kylexxx777
Kylexxx777 asked this question in Q&A
Discussion options

You must be logged in to vote

For the first question, look at post #6220 and add this:
const contract = await contractFactory.deploy({
gasPrice: 20000000000,
gasLimit: 6721975,
});
console.log("Here is the transaction:");
console.log(contract.deployTransaction);
For question two , you need to down grade to soilidity 0.8.19
check out this website for more information(https://ethereum.stackexchange.com/questions/152509/could-not-coalesce-error-invalid-opcode)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Kylexxx777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants