Skip to content

Onchain tests: feed blocks through a mock JAM node, check endpoint values - #51

Merged
michalkucharczyk merged 2 commits into
mainfrom
mku-harness-onchain
Nov 12, 2026
Merged

michalkucharczyk merged 2 commits into
mainfrom
mku-harness-onchain

Conversation

@michalkucharczyk

Copy link
Copy Markdown
Contributor

General onchain tests cleanup:

  • core, service and validator summaries
  • detail endpoints: newest first, hex and decimal service ids, 400 for an invalid id
  • timeseries, including the extra core columns
  • blocks from a fork that lost are excluded

Feed onchain tests through a mock JAM node and the new one-shot
ingest_until_closed hook, then assert only on API responses.
Ignored until fixed: #14 (redundant RPC URLs insert a block twice),
P2-4 (u16 stats wrap in SMALLINT) and the validators timeseries
aggregate summing running totals instead of per-validator MAX.
@michalkucharczyk
michalkucharczyk merged commit 628884e into main Nov 12, 2026
6 checks passed
@michalkucharczyk
michalkucharczyk deleted the mku-harness-onchain branch November 12, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant