For some reason, our app will only work with a forked instance of the mainnet. And hence, we want to run our test on the forked ganache. We are using truffle, so we have written all of our tests in ...
This is the details of the transfer
Type of transaction
I have create a truffle project with a smartcontract and a test file.
Here is an extract of the test file:
ret is a value returned by a smartcontract'...
I'm trying to test a contract in which functions should require certain timestamps. Parts of code are eliminated for readability:
Here's the problematic part of the contract :