Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
update testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Apr 16, 2024
1 parent 1596ba7 commit d334ce6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/inflight-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ inflightTest('getBalance for latest', {
params: ['0xabcd', 'latest'],
}, true)

inflightTest('getBlock by number (0)', {
method: 'eth_getBlockByNumber',
params: ['0x0', false],
}, true)

// latest is always forwarded for eth_getBlockByNumber
inflightTest('getBlock for latest', {
method: 'eth_getBlockByNumber',
params: ['latest', false],
}, true)
}, false)

inflightTest('getBlock for latest (1) then 0', [{
method: 'eth_getBlockByNumber',
Expand Down

0 comments on commit d334ce6

Please sign in to comment.