v7

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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