mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +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. Co-authored-by: Seungbae Yu <dbadoy4874@gmail.com> |
||
|---|---|---|
| .. | ||
| invalid-badid.js | ||
| invalid-badversion.js | ||
| invalid-batch.js | ||
| invalid-idonly.js | ||
| invalid-nonobj.js | ||
| invalid-syntax.json | ||
| reqresp-batch.js | ||
| reqresp-echo.js | ||
| reqresp-namedparam.js | ||
| reqresp-noargsrets.js | ||
| reqresp-nomethod.js | ||
| reqresp-noparam.js | ||
| reqresp-paramsnull.js | ||
| revcall.js | ||
| revcall2.js | ||
| subscription.js | ||