You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tdbe): ParsedRight::from_wire_byte (inverse of as_wire_byte) (#496)
* feat(tdbe): ParsedRight::from_wire_byte (inverse of as_wire_byte)
Add a `const fn` inverse of the existing `ParsedRight::as_wire_byte`,
decoding the FPSS wire byte (`67` for `'C'`, `80` for `'P'`) into
a typed `ParsedRight`. Returns `None` for any other byte so the
caller can lift the soft-skip / hard-error decision into its own
error type.
Round-trip property test confirms every variant whose
`as_wire_byte()` returns `Some(b)` decodes through
`from_wire_byte(b) == Some(self)`. The `Both` variant has no FPSS
wire encoding, so the test asserts that path stays unrepresentable
on the wire.
Removes the rationale for downstream tick decoders (analytics
chain snapshots, replay validators) to re-type the `67` / `80`
magic numbers at every trust boundary.
Patch bump tdbe 0.12.8 -> 0.12.9 per the 0.12.x patch-only policy;
`thetadatadx` and `ffi` dependency pins lifted to match. No
`thetadatadx` version bump in this commit -- a follow-up release
PR will roll the SDK forward through the next patch.
Closes#495.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: sync docs-site/docs/changelog.md with CHANGELOG.md
`Extended Surfaces` job runs `scripts/check_docs_consistency.py`
which verifies the docs-site changelog mirror matches the
canonical `CHANGELOG.md`. Bring it in sync.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(extended): bump tdbe to 0.12.9 in tools/sdks Cargo.toml + lockfiles
CI's `Extended Surfaces` job runs `cargo check --locked` against
each separately-locked extended-surface crate (`tools/{cli,server,mcp}`,
`sdks/{python,typescript}`). Their `Cargo.toml` declared
`tdbe = "0.12.8"` and the lockfiles resolved to that, so the
locked check failed once tdbe rebased to `0.12.9` on this branch.
Lift the pin to `0.12.9` and refresh each lockfile so the locked
builds pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments