Add support and unit tests for blocks() method
Depends on D15210
Differential D15216
[chronik-client] Add support and tests for blocks method Authored by bytesofman on Jan 20 2024, 00:20.
Details
Diff Detail
Event TimelineComment Actions You're missing a test for end height > start height
Comment Actions Failed tests logs: ====== /block and /blocks: "before each" hook for "gives us the block after parking the last block and throws expected error attempting to get parked block"./block and /blocks "before each" hook for "gives us the block after parking the last block and throws expected error attempting to get parked block" ======
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/work/modules/chronik-client/test/integration/block_and_blocks.ts)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)Each failure log is accessible here: Comment Actions the dep stack was messed up during a rebase, not able to reconstruct. Will have it all in D15210 | ||||||||||||||||||||||||||||