fetchd icon indicating copy to clipboard operation
fetchd copied to clipboard

Feature request: Set time on local fetchd node

Open dishmop opened this issue 3 years ago • 0 comments

Prerequisites

  • [X] I checked the documentation and made sure this feature does not already exist.
  • [X] I checked the existing issues to make sure this feature has not already been requested.

Problem

I need to run integration tests on a local node and cosmpy which test things over a long time frame.

E.g. take out a loan at 10% APR. Run time forward by one year. Check the debt is exactly 10% bigger.

I can't do this at the moment,

Feature / Solution

Ganache as an option to set the next block time. This combined with only mining when transactions come in give you ver fine control over such things and I can can completely deterministic time-based integration tests.

Alternatives

No response

Additional Context

No response

dishmop avatar May 27 '22 09:05 dishmop