Skip to content

Align after Hayabusa/StarGate changes #489

@victhorbi

Description

@victhorbi

Context

On October 28, a new StarGate version will be deployed on the official Testnet.
Among the changes, StarGate is now offering the functionalities previously done by the NodeManagement contract, and has also changed the ABI interface.
A migration script will be run on the same day of the deployment, to transition all the delegations from the old NodeManagement into StarGate.
Old nodes (genesys generation of economic and x economic nodes) will keep the possibility of migrating indefinitely.

Description

VeVote contracts must use the new StarGate contracts through the proxy (if applicable)
The Validator voting power has to be assigned to actual validators, or owners of such delegations (and not anymore endorsers of amn). The information is available in StarGate's contracts and on dedicated indexers.
The frontend must

  • check the voting power on wallet connection
  • assign the voting power available at the start date of a proposal on vote casted
  • record the proper voting power in the list of voters
  • show the voting power tiers, names and minimum requirements (including validator) in the admin dashboard
    relying on either the new indexers or the new StarGate contracts.

Acceptance

testing in Testnet will require an instance of the previous version running, and will ensure that:

  • economic nodes can still vote
  • validators can vote
  • amn endorsers can't vote
  • validatos will see 5000 as their voting power - only when they don't have a manager
  • managers of validators will see 5000 as their voting power per managed validator node
  • nodes migrated before the StarGate deployment can see exactly the same voting power
  • nodes migrated after the StarGate deployment can see their voting power
  • admin dashboard is showing the new and correct information

Metadata

Metadata

Assignees

Labels

Epiccollection of related stories or tasksbackendbackend related developmentfrontendFrontend related development
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions