autonity / aut

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

Result of the command "aut validator info" when we put an address which is not an address of a valid validator #142

Closed jfaiza closed 7 months ago

jfaiza commented 7 months ago

Hello,

The result of the command "aut validator info --validator 0xADDRESS" when we put an address which is not an address of a valid validator : web3.exceptions.ContractLogicError: execution reverted: validator not registered

Shouldn't it just return "Validator not registered" instead of this result web3.exceptions.ContractLogicError: execution reverted: validator not registered ?

aiman commented 7 months ago

This not a defect, this is the intended behavior