Expand description
Sender-side bootstrap synthesis that needs async access to identity
updates (for the failed_installations per-inbox partition).
Mirrors the wire-format contract enforced by the receiver-side
synthesize_canonical_subset_for_validation in
xmtp_mls_common::app_data::migration. The split is:
- sync pure-local synthesis (registry, admin/super-admin lists,
Bytes attrs, sequence-id map, immutable seeds) →
xmtp_mls_common - async identity-update-dependent synthesis
(
failed_installationspartition) → this module
The output is the full BTreeMap<ComponentId, Vec<u8>> the
bootstrap intent handler fans out as individual AppDataUpdate
proposals, sorted by ComponentId ascending.
Enums§
- Bootstrap
Commit Error - Errors surfaced by
stage_bootstrap_commit. - Bootstrap
Synthesis Error - Sender-side bootstrap synthesis errors.
Functions§
- stage_
bootstrap_ commit - Build and stage the bootstrap migration commit.
- synthesize_
initial_ component_ values - Synthesize the full
AppDataUpdatepayload set the bootstrap commit ships, keyed byComponentId. - synthesize_
initial_ component_ values_ from_ extensions - Extensions-only variant of
synthesize_initial_component_values. Lets tests exercise synthesis against synthetic extensions without standing up a real MLS group.