omega-mcp
aien-dev/omega-mcp
Brought by drakestapleton
omega-mcp / data / examples / contract_fail.om
| 1 | om2 |
| 2 | note a false requires stops the program with trap 9 (exit 109) |
| 3 | fn step x uint to uint |
| 4 | requires lt x 2 |
| 5 | ret add x 1 |
| 6 | end |
| 7 | fn main to int |
| 8 | ret int step 5 |
| 9 | end |