Replies: 5 comments 2 replies
-
@mjviana in your namedAccounts: {
deployer: {
default: 0,
},
player: {
default: 1,
},
}, to this one namedAccounts: {
deployer: {
default: 0, // here this will by default take the first account as deployer
1: 0, // similarly on mainnet it will take the first account as deployer. Note though that depending on how hardhat network are configured, the account 0 on one network can be different than on another
},
}, then try to run tests |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Just to add more info. When I try to call performUpkeep via etherscan UI i got the following result: |
Beta Was this translation helpful? Give feedback.
-
It worked for me when I put mocha : {
timeout : 200000,
} in my hardhat.config If that did not work you can try mocha : {
setTimeout : 200000,
} |
Beta Was this translation helpful? Give feedback.
-
Error: Timeout of 400000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Hope this will help. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I know that this question was already discussed but all the accepted answers did not work for me.
Every time that i run

hh test --network sepolia
I got the following error:I already added more link in both VRF subscription and Upkeeper.
And also increased the timeout in hardhat.config.js
Here's my repo: https://github.com/mjviana/hardhat-smartcontract-lottery-fcc
NOTES:
VRF Subscription sometimes gives me this error:

When I try to call performUpkeep via etherscan UI i got the following result:

Beta Was this translation helpful? Give feedback.
All reactions