autonity / autonity-cli

Command line interface to interact with Autonity
MIT License
11 stars 10 forks source link

Warn or fail on incompatible protocol version #163

Open aiman opened 4 months ago

aiman commented 4 months ago

Running an aut command with an incompatible protocol version may return results that are false or misleading, and in many cases the command will succeed without any error. An example would be a change to the Autonity Contract configobject.

It may be a good idea to warn or fail due to an error when connecting to an RPC node running a known incompatible or unsupported protocol version.

We may be able to make use of the web3_clientVersion, but there may be other indicators of incompatibility.