Vladyslav Kotsiuba

Results 6 comments of Vladyslav Kotsiuba

I had the same problem while running tests. Every test with expected equals for `latest()` and the `block.timestamp` causes test failure and has a difference in time of 1 sec....

> I had the same problem while running tests. Every test with expected equals for `latest()` and the `block.timestamp` causes test failure and has a difference in time of 1...

Had the same issue but without specifying any possible version for node engines. Any ideas how to fix that? Or I need to hardcode version of node which I suppose...

You could just change the currency in hardhat-gas-reporter config in `hardhat.config.ts` file to "ETH", as follows: ``` gasReporter: { coinmarketcap: envConfig.coinmarketcapApiKey, currency: 'ETH', showTimeSpent: true, enabled: envConfig.showLogs, }, ```

Same problem, only can get time spent on specific function by adding `showTimeSpent: true`

Or even in such structure to implement same logic: ```javascript import tw from 'tailwind-styled-components' const Button = tw.button` bg-black i { block } span { text-blue-500 w-10 } div.container {...