Prerequisites
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
Prerequisites
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