You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial eth_getBlockByNumber coverage was scarce
Solution
Add move coverage
Enhance the already existing getBlockByNumber test by adding assertion of the returned object that it has transactions array containing the full transaction and not only the string of their hash (testing the "hydrated transactions flag")
Add a test that queries existing block by number but sets hydrated transactions to **false**. Assert that the response contains transactions` array but the values are strings of the transaction hash
Add negative test for non-existing block number with hydrated transactions set to **true**. The response of the call must be asserted to be:
{
"jsonrpc": "2.0",
"id": 0,
"result": null
}
Add negative test for non-existing block number with hydrated transactions set to **false**. The response of the call must be asserted to be:
{
"jsonrpc": "2.0",
"id": 0,
"result": null
}
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem
The initial eth_getBlockByNumber coverage was scarce
Solution
Add move coverage
getBlockByNumber
test by adding assertion of the returned object that it hastransactions
array containing the full transaction and not only the string of their hash (testing the "hydrated transactions flag")hydrated transactions to **false**. Assert that the response contains
transactions` array but the values are strings of the transaction hashhydrated transactions set to **true**
. The response of the call must be asserted to be:hydrated transactions set to **false**
. The response of the call must be asserted to be:Alternatives
No response
The text was updated successfully, but these errors were encountered: