mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-19 10:17:05 +00:00
The JSON-RPC spec requires the "version" field to be exactly "2.0", so we should verify that. This change is not backwards-compatible with sloppy client implementations, but I decided to go ahead with it anyway because the failure will be caught via the returned error.