You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added `sstoreIfZero` stdlib helper to package the common "load + require zero + store" pattern.
115
+
- Refactored `initOnce` and `initToOne` to use `sstoreIfZero`.
116
+
- Added `initDouble` example (initialize to `value * 2` on zero) with SpecR + proofs.
117
+
- Added Foundry test for `initDouble`.
118
+
- Updated compiler entries + direct EVM asm wiring for `initDouble`.
119
+
-`end_to_end` initially failed due to direct EVM asm mismatch in `initDouble`; fixed by aligning the stack order (`swap1` prelude + `swap1` before `sstore`) with solc output.
120
+
- Ran `PATH=/opt/lean-4.27.0/bin:$PATH lake build`, `./scripts/end_to_end.sh`, and `./scripts/foundry_test_generated.sh` (all green).
0 commit comments