autonity / aut

A command-line RPC client for Autonity
MIT License
11 stars 10 forks source link

Unexpected behavior of th command "aut validator info --validator" when the address is not a validator #113

Closed jfaiza closed 1 year ago

jfaiza commented 1 year ago

When we use the command "aut validator info --validator" with an address which is not a validator it returns this response: { "treasury": "0x0000000000000000000000000000000000000000", "addr": "0x0000000000000000000000000000000000000000", "enode": "", "commission_rate": 0, "bonded_stake": 0, "total_slashed": 0, "liquid_contract": "0x0000000000000000000000000000000000000000", "liquid_supply": 0, "registration_block": 0, "state": 0 }

It should return that the address is not a validator instead of this response.

noandrea commented 1 year ago

shipped in v0.2.0