docs2
docs2 copied to clipboard
List of common pitfalls for TS devs
List of a few common pitfalls to document:
- In-circuit randomness
- Reading out values of field elements in provable code
- Existing example: https://github.com/o1-labs/o1js/issues/224
- Always try to compile methods and create proofs as a way of ensuring a base level of correctness (to debug)
- Conditional branching
- Inheritence with
SmartContract