Skip to content

Tracking issue: Staking/Distribution QA and testing #3845

Open
@erwanor

Description

@erwanor

Staking/Distribution QA and testing

Main tracking issue: #3452

In the course of building the staking and distribution components, we frequently uncovered/created bugs in the implementation, either in the form of straight up dysfunctions (e.g. missing state transitions) or in harder to detect invariant violations (e.g. reward overspending).

In both cases, these mistakes could have been caught by leveraging our App test harness.

This issue is a first pass at inventorizing bugs that have occured in the process of [re]developing these components. For now, its purpose is to serve as a basis to guide future assurance work. Later, it will serve as a regular tracking issue that describes roadmap and completion of a project.

Historical bug inventory:

Validator state-machine

Staking end-epoch handling

Rate calculations

Stake bonding mechanisms

Validation

Testing tracker:

Tombstoning

Enshrining action invariants

Rate calculations

  • staking(tests): add rate calculation scenarios

Validator state-machine

  • staking(tests): cover validator state machine transitions

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-stakingArea: Design and implementation of staking and delegationA-testingArea: Relates to testing of Penumbra

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions