Skip to content

Allow querying for validator public key #1828

Open
@maurolacy

Description

@maurolacy

Ideally, the pubkey would be returned as part of the Validator struct

https://github.com/CosmWasm/cosmwasm/blob/ebb378517fbf2c2093c873e5c99a2ea12ce640cf/packages/std/src/query/staking.rs#L131C10-L139

That means it'll be part of the StakingQuery::AllValidators and StakingQuery::Validator query responses.
It can be an optional field for backwards compatibility / non-breaking change.

Alternatively / non-ideally, add a new query type so that the pubkey can be queried.

We need this as part of Mesh Security. See by example osmosis-labs/mesh-security#88.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions