-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
staking: emit ABCI events for validator state transitions #4336
Labels
A-staking
Area: Design and implementation of staking and delegation
A-telemetry
Area: Metrics, logging, and other observability-related features
A-tooling
Area: developer tooling for building Penumbra itself
_P-medium
Medium priority
Comments
conorsch
added
A-tooling
Area: developer tooling for building Penumbra itself
A-governance
Area: Governance
A-telemetry
Area: Metrics, logging, and other observability-related features
labels
May 6, 2024
github-actions
bot
added
the
needs-refinement
unclear, incomplete, or stub issue that needs work
label
May 6, 2024
aubrika
changed the title
governance: emit ABCI events for validator state transitions
staking: emit ABCI events for validator state transitions
May 8, 2024
conorsch
added
A-staking
Area: Design and implementation of staking and delegation
and removed
A-governance
Area: Governance
labels
May 8, 2024
aubrika
added
_P-medium
Medium priority
and removed
needs-refinement
unclear, incomplete, or stub issue that needs work
labels
May 8, 2024
1 task
Talked through the shape of these events with @plaidfinch and @cratelyn today. We want:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-staking
Area: Design and implementation of staking and delegation
A-telemetry
Area: Metrics, logging, and other observability-related features
A-tooling
Area: developer tooling for building Penumbra itself
_P-medium
Medium priority
Is your feature request related to a problem? Please describe.
Currently, the most authoritative view of the active validator set is obtained by running
pcli query validator list --show-inactive
. We have partial, but crucially flawed, metrics related to validator states that should be removed.Describe the solution you'd like
When a validator changes state, e.g. from Defined -> Active, or Active -> Jailed, or Active -> Tombstoned, an ABCI event should be emitted. This would allow external tooling like block explorers to consume these events.
Describe alternatives you've considered
We've tried to shore up the emitted metrics, but decided these aren't the right way to represent the validator state info.
Additional context
See related historical discussion in #3746, and recent PR in EventTombstoneValidator - #4277.
The text was updated successfully, but these errors were encountered: