This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Replies: 1 comment
-
Ok I’ve opened an issue: #3265
…On Tue, 21 Jun 2022 at 14:00, David Murdoch ***@***.***> wrote:
This is probably a bug. Can you open an issue?
—
Reply to this email directly, view it on GitHub
<#3264 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL77UNOC72AOTA6LJ7JRVOTVQG4FTANCNFSM5ZL6GSEA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have Truffle tests that successfully pass with Ganache v6 but fail with Ganache v7.3.1. The truffle tests in question use the ganache-time-traveler utility to advance time. Specifically, the issue is with functions that need a certain amount of time to pass before they will execute (without reverting). I, therefore, use ganache-time-traveler to advance the time before executing the function. Unfortunately, with ganache 7.3.1 these functions revert even though time has been advanced by the required amount. Here is an example:
etc ...
This test passes with Ganche v6 but
eggToken.hatch
reverts under v7.3.1 with the following message:Is this a known issue and/or is there a workaround? I'd appreciate any help/advice on how to resolve this issue.
I'm on a 2022 MacBook Pro (M1 Pro processor).
Truffle v5.5.3 (core: 5.5.3)
Ganache v7.0.1
Solidity - 0.8.13 (solc-js)
Node v14.15.5
Web3.js v1.5.3
Note: Even though it says "Ganache v7.0.1" above (from 'truffle version'), I've installed v7.3.1 and when I start ganache (via CL) it says "ganache v7.3.1 (@ganache/cli: 0.4.1, @ganache/core: 0.4.1)"
Beta Was this translation helpful? Give feedback.
All reactions