Skip to main content

PROPOSALS_MIN_PROTOCOL_VERSION

Constant PROPOSALS_MIN_PROTOCOL_VERSION 

Source
pub const PROPOSALS_MIN_PROTOCOL_VERSION: &str = "1.11.0-dev";
Expand description

Default floor written into MIN_SUPPORTED_PROTOCOL_VERSION when a group is migrated via enable_proposals without an explicit override.

Set to the release where the AppData-migration / proposals feature first ships. Clients older than this version cannot read the AppData dictionary, so the welcome-time / commit-time pause path uses this value to gate them out of migrated groups before they fork.

Invariant: must be <= CARGO_PKG_VERSION. The send-side clamp in enable_proposals refuses any min_version > own pkg_version (you can’t legally write a floor you yourself don’t satisfy), so a constant ahead of the workspace version would brick every production call to enable_proposals that takes the default. Bump this in lockstep with the workspace version, never independently.

Callers that need a different floor (testing, dev nightlies, staged rollouts) pass EnableProposalsOptions::min_version instead of relying on this default.