-- randblock.lua — hit random blocks within neve's stored range.
-- Set lo/hi from /health: blocks.min_height .. blocks.max_contiguous_height.
-- A non-zero "Non-2xx" line from wrk means the range is wrong (out-of-range
-- heights return HTTP 421); fix lo/hi and rerun.
--
-- For a node-vs-neve comparison, set lo/hi to the OVERLAP of neve's range and
-- the node's usable range so both targets serve identical work, and use the
-- matching randblock-node.lua against avalanchego.
math.
local lo, hi = 86703873, 86881651 -- overlap range as of 2026-05-31; refresh each session
request =