Constant DRIVE_VERSION_V9
pub const DRIVE_VERSION_V9: DriveVersion;Expand description
Drive version 9. Introduced in protocol v14, carrying both of v14’s drive-side changes:
- Shared-prefix aggregate index fix —
DRIVE_DOCUMENT_METHOD_VERSIONS_V4bumps the four index walkers to v2 (and the document update walker to v1) so contracts that pair an aggregating (countable / summable) index with a compound index sharing its leading property can insert, update, and delete documents. - Contract-level ranked aggregates — the same V4 table adds the
detect_ranked_moderouting slot,grove_methods.batchgains the three indexed-tree creation slots, andmethods.verifygainsdocument_ranked.verify_ranked_top_k_proof. All are 0 at introduction; the ranked grammar itself is gated one layer up byCONTRACT_VERSIONS_V6’s meta schema v3. - Contest restart over orphaned vote trees — the same V4 table bumps
insert_contested.add_contested_vote_subtree_for_non_identities_operationsto 1 so a new contest recreates the abstain or lock vote tree over the storage an earlier poll’s cleanup left behind (it only removed the trees that received votes) instead of failing withCorruptedContractIndexes. - Contract groups —
create_initial_state_structure4 creates theContractGroupsroot tree (key 68) with its groups and members subtrees;DRIVE_CONTRACT_GROUP_METHOD_VERSIONS_V1carries the insert, fetch, prove and estimation slots;DRIVE_STATE_TRANSITION_METHOD_VERSIONS_V4moves the contract create converter to 1 so a version 1 create transition also emits the group registration and membership operations.
Everything else matches DRIVE_VERSION_V8.