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.
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.