v2

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateVerifiedInboundTxs

func MigrateVerifiedInboundTxs(ctx sdk.Context, k *keeper.Keeper, cdc codec.BinaryCodec) error

MigrateVerifiedInboundTxs converts old VerifiedTxMetadata (single PayloadHash) to the new shape (PayloadHashes []string) using the keeper's collections API.

Types

type OldVerifiedTxMetadata

type OldVerifiedTxMetadata struct {
	Minted      bool                       `protobuf:"varint,1,opt,name=minted,proto3" json:"minted,omitempty"`
	PayloadHash string                     `protobuf:"bytes,2,opt,name=payload_hash,proto3" json:"payload_hash,omitempty"`
	UsdValue    *utxverifiertypes.USDValue `protobuf:"bytes,3,opt,name=usd_value,proto3" json:"usd_value,omitempty"`
	Sender      string                     `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
}

OldVerifiedTxMetadata matches the old on-disk protobuf shape (single PayloadHash)

func (*OldVerifiedTxMetadata) ProtoMessage

func (*OldVerifiedTxMetadata) ProtoMessage()

func (*OldVerifiedTxMetadata) Reset

func (m *OldVerifiedTxMetadata) Reset()

func (*OldVerifiedTxMetadata) String

func (m *OldVerifiedTxMetadata) String() string

Jump to

Keyboard shortcuts

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