Skip to content

chore(conformance): release vector suite version 0.1.0 - #441

Merged
ion-alpha-dev merged 1 commit into
mainfrom
conformance-suite-version-1-0
Jul 31, 2026
Merged

chore(conformance): release vector suite version 0.1.0#441
ion-alpha-dev merged 1 commit into
mainfrom
conformance-suite-version-1-0

Conversation

@ion-alpha-dev

Copy link
Copy Markdown
Collaborator

What

Bumps SuiteVersion (chain/conformance/conformance.go) and CryptoSuiteVersion (chain/conformance/crypto.go) from "0.1.0-draft" to "0.1.0", and regenerates the golden manifests.

The whole diff is four lines: the two constants, and the suite_version field in testdata/vectors/manifest.json and testdata/crypto/manifest.json. No .cbor artifact is touched.

Why

The vector suite is being published downstream as a release rather than a draft, so the version string it carries has to stop saying -draft. This package is the single source of truth for the vectors, so the bump has to happen here first and be copied outward, never the reverse.

The vector bytes are version independent by construction: the suite version is written into the manifest index only, and is not an input to event encoding, whose domain tag is provetrail/event/v1. That is why no artifact bytes move and a downstream verifier's expected results are unchanged. Any .cbor file appearing in this diff would mean something else changed and the bump should be stopped.

How to verify

go test ./chain/conformance -update
git status --porcelain   # expect only the 2 constants and the 2 manifest.json files
go test ./chain/...

The golden-match test in chain/conformance is what enforces this: it fails if the committed manifests disagree with what the generator produces from the constants, so it covers the change directly. ./dev/lint and ./dev/vuln are clean.

Notes for reviewers

Downstream consumers of the published vector set must take this bump before, or together with, their own copy of the manifests. Copying the new manifests downstream while these constants still said -draft would fail the golden-match test here, and bumping here without copying outward leaves the downstream copy stale. See TESTING.md ("Conformance vectors") for that ordering.

Bump SuiteVersion and CryptoSuiteVersion from "0.1.0-draft" to "0.1.0" and
regenerate the golden manifests so the published vector set carries a release
version rather than a draft one.

Only the two manifest.json files change. The vector bytes themselves are
version independent: the suite version is written into the manifest index and
is not an input to event encoding, whose domain tag is provetrail/event/v1.
No .cbor artifact is touched, so a downstream verifier's expected results are
unchanged.

Signed-off-by: Ion Alpha <contact@ionalpha.io>
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ion-alpha-dev
ion-alpha-dev merged commit c7a553e into main Jul 31, 2026
26 checks passed
@ion-alpha-dev
ion-alpha-dev deleted the conformance-suite-version-1-0 branch July 31, 2026 20:37
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant