Skip to content

Token selection is performed (seemingly) alphabetically when selecting valid auth tokens #88

@ross-spencer

Description

@ross-spencer

Mint auth creates new auth tokens that allows COOP publishers to publish on-chain. Occasionally there is a period of overlap between existing auth tokens and newly minted ones, e.g. covering time periods in long-running operations.

When there is an overlap in auth token validity the selector picks the first token it comes across with validity, this seems to be the one alphabetically in order, not the oldest valid token that may also be valid. This leads to unused tokens.

Logging this as much as a note to users. The ability to burn unused $AUTH (below) essentially renders this moot. We might also consider a line or two in documentation for potential users.

Connected to: #83

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