Skip to content

enforce omnipool/stableswap invariants #1426

@enthusiastmartin

Description

@enthusiastmartin

Currently we enforce invariants only when built with test or try-runtime features

Consider enforcing these invariants in production too.

they need to be refactor to not panic!

the trade should fail if the invariant check fails.

it should still panic in test or try-runtime features, so the fuzzer can catch such problems.

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