Skip to content

Lesson 14: TypeError: fragment/topic mismatch #5765

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

You must be logged in to vote

I realized that my hardhat.config.js had require("@nomiclabs/hardhat-ethers");, which is pretty redundant. So when I compiled the code with the package.json - which is similar to Patrick's Repo, it forced me to install hardhat-ethers, which might be incompatible with my program. So when I removed that line: require("@nomiclabs/hardhat-ethers"); and then recompiled and deployed, my program worked totally fine.

Replies: 1 comment

Comment options

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