Manipulation of Time for testing purposes

I am wondering if there are ways to mock time in fuel vm similar to sending ‘evm_increaseTime’ rpc in solidity testing.

1 Like

There’s an API for this, but it’s not currently working in the Rust SDK. Should be fixed in the next release.

Here’s the relevant documentation:

https://rust.fuel.network/v0.41.0/testing/chains.html

Some relevant threads:

1 Like

good. it is so nice to know this

:slight_smile: nice, thanks for the info

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.