Skip to content

test: decode Cardano vectors - #76

Merged
scarmuega merged 2 commits into
mainfrom
test/protocol-vectors
Nov 6, 2026
Merged

scarmuega merged 2 commits into
mainfrom
test/protocol-vectors

Conversation

@scarmuega

@scarmuega scarmuega commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Decodes the Cardano vectors from u5c-factory (utxorpc/u5c-factory#6) at protocol versions 7 to 12 with the generated types, checking slot, hash, transaction count and first transaction hash, then that the block re-encodes to the same bytes. The Dijkstra vector is preliminary.

Vectors and tests are named for the ledger, so other ledgers can add theirs alongside. Runs under the existing vitest step, for v1alpha, the only version @utxorpc/spec exports.

🤖 Generated with Claude Code

scarmuega and others added 2 commits November 6, 2026 08:46
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@scarmuega scarmuega changed the title test: decode protocol vectors test: decode Cardano vectors Nov 6, 2026
@scarmuega
scarmuega merged commit f07849d into main Nov 6, 2026
2 checks passed
@scarmuega
scarmuega deleted the test/protocol-vectors branch November 6, 2026 12:05
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