autonity / aut

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

Warn or fail on incompatible protocol version #163

Open aiman opened 1 month ago

aiman commented 1 month 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.