Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
14 lines
518 B
Ruby
14 lines
518 B
Ruby
/*
|
|
This rule looks for a non-reverting execution path to each method, including those overridden in the harness.
|
|
A method has such an execution path if it violates this rule.
|
|
How it works:
|
|
- If there is a non-reverting execution path, we reach the false assertion, and the sanity fails.
|
|
- If all execution paths are reverting, we never call the assertion, and the method will pass this rule vacuously.
|
|
*/
|
|
|
|
rule sanity(method f) {
|
|
env e;
|
|
calldataarg arg;
|
|
f(e, arg);
|
|
assert false;
|
|
} |