hardhat-starter-kit icon indicating copy to clipboard operation
hardhat-starter-kit copied to clipboard

Add evm_mine to Keepers tests

Open colinsteidtmann opened this issue 2 years ago • 2 comments

I think you should add the line await network.provider.send("evm_mine"); below evm_increaseTime, on the typescript keepers test file.

Or at least that's what I had to do on my local file to make the time increase have any real effect.

Reference: https://ethereum.stackexchange.com/questions/86633/time-dependent-tests-with-hardhat

colinsteidtmann avatar May 09 '22 02:05 colinsteidtmann

Ohhhh!! Yes! Great issue. Labeled as good first issue.

PatrickAlphaC avatar May 16 '22 12:05 PatrickAlphaC

Is this still open? (I sent a PR)

adityabhattad2021 avatar Aug 09 '22 12:08 adityabhattad2021