Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateVerifiedInboundTxs ¶
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
Click to show internal directories.
Click to hide internal directories.