hyperledger-solang / solang-aqd

Apache License 2.0
2 stars 1 forks source link

Print a Warning for Incompatible Node Versions in `aqd-polkadot` #6

Open tareknaser opened 1 year ago

tareknaser commented 1 year ago

Currently, aqd-polkadot lacks a warning mechanism if the version of the node it's communicating with isn't compatible with the CLI version. To address this, it's necessary to incorporate an RPC call to retrieve the node version and validate its compatibility before submitting the transaction.

For example, here is one RPC call to retrieve the node version. It's important to note that the RPC call might differ for various testnets and local nodes.