Skip to content

Lesson 7: yarn hardhat test - not working #5011

Answered by N-dcool
N-dcool asked this question in Q&A
Discussion options

You must be logged in to vote

After long debugging time i find out the actual problem, which is related to ethers which is because of JsonpcProvider,
I have solved this and shared my solution on Ethereum StackOverflow :
https://ethereum.stackexchange.com/questions/146902/before-each-hook-for-sets-the-aggregator-addresses-correctly-typeerror-cann/146903#146903

Thank You !
Don't forget to upvote, it consumed my half day to debug 😷.

Replies: 2 comments 2 replies

Comment options

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

@N-dcool
Comment options

Answer selected by N-dcool
Comment options

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