Skip to content

staking: return full validators' description #629

@Pitasi

Description

@Pitasi

The Description struct defined here:
https://github.com/cosmos/evm/blob/main/precompiles/staking/StakingI.sol#L28-L34
is only used when creating new validator

The queries only return a string description (corresponding to Description.details field), here:
https://github.com/cosmos/evm/blob/main/precompiles/staking/StakingI.sol#L51-L63

I think that the staking precompile should be changed to return the same Description struct from queries such as validator and validators.

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