Skip to content

cosmossdk.io/collections doesn't have time.Time codec #25614

@islishude

Description

@islishude

Should it move to collections packages now?

// TimeKey represents a collections.KeyCodec to work with time.Time
//
// Deprecated: exists only for state compatibility reasons, should not
// be used for new storage keys using time. Please use the time KeyCodec
// provided in the collections package.
TimeKey collcodec.KeyCodec[time.Time] = timeKeyCodec{}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions