Skip to content

feat: add delegated staking consensus support - #2690

Open
teban-oss wants to merge 1 commit into
witnet:masterfrom
teban-oss:delegated-staking
Open

teban-oss wants to merge 1 commit into
witnet:masterfrom
teban-oss:delegated-staking

Conversation

@teban-oss

Copy link
Copy Markdown

Summary

This PR adds delegated staking consensus support across Wit/2.1 validation, state transitions, rewards, collateral reservations, slashing, exits, snapshots, migrations, RPC, CLI, and wallet reconciliation. It supports validator owner registration, multiple delegators and withdrawers, signed delegation and exit actions, commission updates, and recovery of failed relay operations.

Companion SDK

The client-side implementation is proposed in witnet/witnet-sdk#74.

Verification

Focused delegated-staking fixtures and snapshot/canonical-schedule checks are included; the full Rust suite should run in CI before merge.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant