pbft-default-str-fragile

Status: IN

The `default=str` parameter in the PBFT digest function silently converts non-serializable objects to their `str()` representation, which is not deterministic across replicas for types like `datetime` or custom objects — a latent consensus-breaking bug if non-primitive request payloads are introduced.

Source: entries/2026/05/29/topic-json-canonicalization-risks.md

JSON