Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigratePendingInbounds ¶
MigratePendingInbounds reshapes the legacy PendingInbounds collection (F-2026-16642). Before this version it was a KeySet[string] at prefix 2 — a bare set of UTX keys. It is now a Map[string]PendingInboundEntry at the same prefix, carrying the per-variant ballot audit trail.
Legacy KeySet rows decode through the new Map codec as an empty PendingInboundEntry (the key survives, the value is empty). For each such row we rewrite a bare entry that carries its own UtxKey and the upgrade height, so it remains a valid pending marker. The variant trail starts empty and is refilled by RecordInboundVote as validators vote after the upgrade.
NOTE: an inbound whose UTX key changes under the new tx-hash canonicalization (Solana base58 hashes) will re-observe under a fresh key; the bare marker here is then swept by the ballot-expiry path. EVM UTX keys are unchanged.
Types ¶
This section is empty.