Skip to content

Solution: LP-0012 — Structured Event/Log Mechanism for LEZ Programs#104

Open
pramadanif wants to merge 3 commits into
logos-co:masterfrom
pramadanif:solution/lp-0012-pramadanif
Open

Solution: LP-0012 — Structured Event/Log Mechanism for LEZ Programs#104
pramadanif wants to merge 3 commits into
logos-co:masterfrom
pramadanif:solution/lp-0012-pramadanif

Conversation

@pramadanif

@pramadanif pramadanif commented Jul 13, 2026

Copy link
Copy Markdown

Summary

Submission for LP-0012 — Event/Log mechanism, aligned with the audited project README.

Implementation repo: https://github.com/pramadanif/lez-event-system
Commit: a551b2e177bcdad0fcdba93ba1aa63584fef063b
Tag: v0.1.0
Video (overview): https://youtu.be/jPAzqcxP_go
Video (E2E demo): https://youtu.be/qmyBhWTii6Y
Live decoder: https://lez-event-system.vercel.app/

Note: LP-0012 is marked Closed on master with a prior accepted solution. This PR records this alternative (LEZE framed journal + runtime adapter) under the λPrize submission process.

What's delivered

  • Minimally-invasive event transport: LEZE frame prepended to RISC0 journal
  • execute_program runtime adapter — events survive panic without rewriting ProgramOutput / TxReceipt
  • SDK + decoder CLI + runtime parser crates
  • Examples: token-transfer, withdraw, indexer
  • 30/30 tests (21 unit + 3 runtime + 6 integration); CI green; RISC0_DEV_MODE=0
  • Docs: event-format, ADR, runtime-integration, gap-analysis, benchmarks, research-notes, deployments, submission-writeup
  • Demo: ./scripts/demo.sh + interactive web decoder
  • License: MIT

How to verify

git clone https://github.com/pramadanif/lez-event-system
cd lez-event-system
git checkout v0.1.0
export RISC0_DEV_MODE=0
./scripts/demo.sh
cargo test --workspace
cargo clippy --workspace --tests -- -D warnings
cargo fmt --check --all

Solution file

solutions/LP-0012.md mirrors the audited README: checklist, accurate test matrix, API/error codes, all doc links, FURPS, and Terms.

Terms

By opening this PR I confirm I have read and agree to the Terms & Conditions.

Submit alternative LP-0012 solution linking pramadanif/lez-event-system
(runtime-adapter LEZE framed journal, failure-path preservation).

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown

⚠️ Warnings

Warnings (non-blocking):

  • ⚠️ A solution for LP-0012 already exists on base.

ℹ️ Solution submission for LP-0012.
ℹ️ Checking repo: https://github.com/pramadanif/lez-event-system


Automated check. See solution template and TERMS.

pramadanif and others added 2 commits July 13, 2026 19:00
README is source of truth: dual demo videos, 32-test matrix,
requirements checklist, benchmarks, and evaluator verify steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sync checklist/test matrix/API/docs links with corrected README;
point to commit a551b2e and tag v0.1.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant