Skip to content

Consider delaying fee distribution #35

@tbruyelle

Description

@tbruyelle

#10 added the fee distribution at every block. But we should probably do that less frequently, given that each fee distribution iterate over all validators and executes many bank transfers. Each bank transfer makes 2 writes and generates 1 event, so for 100 validators that makes 200 writes and 100 events, every block!

An other approach can be to distribute fees per epoch. Note that this should done in consideration with the VCS update epoch.

Maybe we could use a single epoch actually, where we distribute the fees AND propagate the VCS change to IBC. In that way, a consumer in debt status is immediately propagated to the consumer chain.

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