I'm working on a revenue distribution contract that lumps eth by week. In order to test it, I need some way to set the
now variable. Is there any way to do that?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
Use ethersim to test your contract. With ethersim you can jump in time by calling the time()-function.