v7

package
v0.0.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigratePendingInbounds

func MigratePendingInbounds(ctx sdk.Context, k *keeper.Keeper) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL