Skip to content

Make voting for contracts update more "async" #173

@greenhat

Description

@greenhat

In their votes, an oracle needs to specify the reward token amount in the pool box at the time of update-pool command is initiated. See the check at the update contract https://github.com/ergoplatform/eips/blob/e485df29ed54778af0b4a67136a1516409341031/eip-0023/contracts/update_contract.es

So if the update-pool command is not planned to run in the current epoch, the oracles have to estimate the reward token amount in the pool box in the upcoming epochs. Since the reward tokens are given only to the posting oracles whose data points are within the deviation range, it is quite hard to exactly estimate the reward tokens amount in the pool box in a few epochs, let alone the next day. This effectively makes the whole prepare-update, vote-update-pool, update-pool process to be run in the shortest time possible, ideally within one epoch. I foresee this would be hard in a decentralized environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions