Lesson 10 Error #3174
Answered
by
sparrow313
sparrow313
asked this question in
Q&A
Lesson 10 Error
#3174
-
making the 99-update-front-end, when I type npx hardhat node in my terminal I get this error. |
Beta Was this translation helpful? Give feedback.
Answered by
sparrow313
Oct 9, 2022
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
async function updateAbi() { |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sparrow313
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
async function updateAbi() {
const raffle = await ethers.getContract("Raffle")
fs.writeFileSync(FRONT_END_ABI_FILE, raffle.interface.format(ethers.utils.FormatTypes.json))
}