Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Limit the voting period duration #147

@dnadales

Description

@dnadales

At the moment the proposals authors can specify the duration of the voting period. By setting this duration to the maximum allowed value malicious actors can spam the system by submitting a lot of such proposals, forcing the ledger to use a lot of memory to keep this state around.

We should limit this to something like an epoch, but we can make this upper limit a parameter of the environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions