Skip to content

Lesson 8 - Error in hardhat Node but tx is happening in metamask #4783

Answered by alymurtazamemon
deepak2301 asked this question in Q&A
Discussion options

You must be logged in to vote

@deepak2301 This is not passing the first condition of the fund function, either your price feed address is wrong or there might be an issue with the getConversionRate function. It would be better if you leave your fund me repository link.

And for this <unrecognized-selector> you should first clean your artifacts folder by running this command npx hardhat clean and then recompile npx hardhat compile and now add the newly generated abi to your frontend file. Do this whenever you update every single character inside your smart contracts to get the accurate abi for frontend.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@deepak2301
Comment options

@deepak2301
Comment options

Answer selected by deepak2301
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