-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpcdaemon: rework on eth_getUncleByBlockHashAndIndex and eth_getUncle…
…ByBlockNumberAndIndex for snapshot (#1354)
- Loading branch information
Showing
5 changed files
with
110 additions
and
63 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
16 changes: 16 additions & 0 deletions
16
tests/integration/goerly/eth_getUncleByBlockHashAndIndex/test_2.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,16 @@ | ||
[ | ||
{ | ||
"request": { | ||
"jsonrpc":"2.0", | ||
"method":"eth_getUncleByBlockHashAndIndex", | ||
"params":["0xffff72e6913a3879217169c6ba461114fa032d9510a56a409d3aab19f668e299","0x0"], | ||
"id":1 | ||
}, | ||
"response": { | ||
"jsonrpc":"2.0", | ||
"id":1, | ||
"result":null | ||
} | ||
} | ||
] | ||
|
16 changes: 16 additions & 0 deletions
16
tests/integration/goerly/eth_getUncleByBlockNumberAndIndex/test_4.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,16 @@ | ||
[ | ||
{ | ||
"request": { | ||
"jsonrpc":"2.0", | ||
"method":"eth_getUncleByBlockNumberAndIndex", | ||
"params":["0xffffff", "0x0"], | ||
"id":1 | ||
}, | ||
"response": { | ||
"jsonrpc":"2.0", | ||
"id":1, | ||
"result":null | ||
} | ||
} | ||
] | ||
|