Commit 08858ad
committed
test: remove the last raw-byte fixture pin, keep the framing check
every_vector_file_is_byte_frozen in admission_tests.rs was the same
sha256(raw file bytes) == literal pattern deleted repo-wide in 0c6e192 --
it escaped that sweep by wearing a different name. Byte-freezing in-repo
fixtures is git's job, and CI now enforces v1/v2 as append-only by path.
What the suite genuinely owes its fixtures is framing, so the test
survives as every_vector_file_is_one_canonical_record: each file must
hold exactly one canonical JSON record with one trailing LF. The ten
EXPECTED_*_RAW_SHA256 literals and the raw_sha256 helper are gone; the
derivation goldens (EXPECTED_SOURCE_FACT_ID and friends), which pin the
system's own canonicalization rather than file bytes, stay untouched.
Kept deliberately: vector_suite_is_byte_frozen_and_advertises_every_
pinned_digest in ledger_epoch_tests.rs -- despite its name it is a
golden canonicalization test (encode_canonical(expected) == fixture),
and its digests are field values of the vector, not raw-byte pins.
Claude-Session: https://claude.ai/code/session_01BxEBa1v242Fo1AJJGftFnZ1 parent b92a0c7 commit 08858ad
1 file changed
Lines changed: 15 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 53 | | |
75 | 54 | | |
76 | 55 | | |
| |||
92 | 71 | | |
93 | 72 | | |
94 | 73 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 74 | | |
100 | 75 | | |
101 | 76 | | |
| |||
382 | 357 | | |
383 | 358 | | |
384 | 359 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
406 | 375 | | |
407 | | - | |
408 | | - | |
409 | 376 | | |
410 | 377 | | |
411 | 378 | | |
| |||
0 commit comments