This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eth_protocolVersion is a Quantity, not an Integer (#1470)
Per the eth JSON-RPC spec all values are strings, not raw json numbers, hence eth_protocolVersion is a Quantity ("0x3f"), not an Integer (63)
- Loading branch information
Danno Ferrin
authored
May 20, 2019
1 parent
51cc362
commit 0ef1d8f
Showing
4 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...sonrpc/src/test/resources/tech/pegasys/pantheon/ethereum/jsonrpc/eth_protocolVersion.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"request": { | ||
"id": 2, | ||
"jsonrpc": "2.0", | ||
"method": "eth_protocolVersion", | ||
"params": [] | ||
}, | ||
"response": { | ||
"jsonrpc": "2.0", | ||
"id": 2, | ||
"result": "0x3f" | ||
}, | ||
"statusCode": 200 | ||
} |