Skip to content

Investigate need of the topup feature and iterate on implementation #1384

@ctrlc03

Description

@ctrlc03

As of now, the topup feature has not been used in production, although clr.fund has found an interesting use case and have been hitting blockers (#1133).

MACI should decide whether the overhead of this functionality is worth keeping (especially considering the increased number of constraints in the circuits and complexity logic).

Should this be kept as part of the core protocol, one suggestion would be to allow for poll specific topups to live in a separate tree, so that they are accounted for at the beginning of a poll, not in the middle of message processing. This way, whether a topup was performed at the beginning or end of a poll, the new number of voice credits should be considered by the offchain processing code, and allow voters to overspend credits before they are topped up. This way, message processing order would not affect the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions