onflow / flow-evm-gateway

FlowEVM Gateway implements an Ethereum-equivalent JSON-RPC API for EVM clients to use
https://developers.flow.com/evm/about
Apache License 2.0
10 stars 10 forks source link

Binary version #563

Open Maharacha opened 4 hours ago

Maharacha commented 4 hours ago

Is it correct that checking the version of the binary is not supported? E.g. evm-gateway --version. Is that something that can be added?

m-Peter commented 4 hours ago

Maybe the following endpoint can be useful:

curl -s -XPOST 'https://testnet.evm.nodes.onflow.org' --header 'Content-Type: application/json' --data-raw '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":7}' | jq
{
  "jsonrpc": "2.0",
  "id": 7,
  "result": "flow-evm-gateway@v0.37.0-preview-5"
}

But that also is specific to how the binary is being built. See: