Skip to content

Enforce the round lasting at least roundPeriodInSecs #161

Description

@blorange

It's a small thing and subject to discussion but currently if nobody advances the round, it eats into the possible time of the next round. This could lead to a situation where one round of a 7-round-ROSCA lasts for 8 days, but the next round only lasts 6.

I understand the way around it now is to allow anyone to advance the round, but we've only opened this up to the foreperson on the FE.

To attempt to avoid throwing if startRound is called too early, we could store the nextRoundStartTime in a variable, and look it up before the user is able to call startRound from the FE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions