Skip to content

Feature request: Set time on local fetchd node #237

@dishmop

Description

@dishmop

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: New feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions