Skip to content

We should prefer unwrapping if we now that a condition MUST always hold. #256

@KaiserKarel

Description

@KaiserKarel

.ok_or(ContractError::QueueItemNotFound {
We introduce an error while we know that error cannot occur unless DB state has been corrupted. It's a nit, but nicer to panic to indicate the corrupted state.

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