Add a v6 event format with correct depth limits (#2114)

* Add a v6 event format with correct `depth` limits

* Changelog

* numbers are hard
This commit is contained in:
Travis Ralston 2025-03-27 10:23:09 -06:00 committed by GitHub
parent cb6d039c57
commit 71ce620fc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 85 additions and 17 deletions

View file

@ -41,13 +41,6 @@ properties:
type: object
description: The content of the event.
example: {"key": "value"}
depth:
type: integer
description: |-
The maximum depth of the `prev_events`, plus one. Must be less than the
maximum value for an integer (2^63 - 1). If the room's depth is already at
the limit, the depth must be set to the limit.
example: 12
hashes:
$ref: "event_hash.yaml"
signatures: