Closed
Description
openedon Sep 25, 2018
Summary
Expose slashing params via Gaia-lite and CLI
Problem Definition
On voyager we were trying to track validator uptime (in this case defined as the amount of blocks they signed), which is possible with using the signing_info
, but the problem is that we rely on the defaultSignedBlocksWindow
to calculate the uptime on the rolling window. That means if the parameter is changed through governance clients won't be able to get the new parameter (besides of hardcoding the value).
Proposal
@alexanderbez : I think we should just expose everything that has a getter in
slashing/params.go
Create a GET /slashing/parameters
endpoint and CLI cmd to expose the params
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment