Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Set time on local fetchd node #237

Open
2 tasks done
dishmop opened this issue May 27, 2022 · 0 comments
Open
2 tasks done

Feature request: Set time on local fetchd node #237

dishmop opened this issue May 27, 2022 · 0 comments
Labels
C-enhancement Category: New feature or request

Comments

@dishmop
Copy link

dishmop commented May 27, 2022

Prerequisites

  • I checked the documentation and made sure this feature does not already exist.
  • 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 dishmop added the C-enhancement Category: New feature or request label May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant