Skip to content

Solution: LP-0013 — Token authority lifecycle on public LEZ testnet#77

Open
Tranquil-Flow wants to merge 7 commits into
logos-co:masterfrom
Tranquil-Flow:solution/lp-0013-resubmission-video-pending
Open

Solution: LP-0013 — Token authority lifecycle on public LEZ testnet#77
Tranquil-Flow wants to merge 7 commits into
logos-co:masterfrom
Tranquil-Flow:solution/lp-0013-resubmission-video-pending

Conversation

@Tranquil-Flow

@Tranquil-Flow Tranquil-Flow commented Jun 9, 2026

Copy link
Copy Markdown

Summary

Final LP-0013 resubmission for Tranquil-Flow.

This updates solutions/LP-0013.md with current v0.2.0 public-testnet evidence for the corrected token-authority lifecycle:

  • implementation repo: https://github.com/Tranquil-Flow/lp0013-token-suite
  • implementation repo evidence commit: 7a1de0cd8b432f6809704deb773c9faae3bc9dc2
  • final narrated demo video: https://youtu.be/rUgsCCPiQfo
  • public LEZ testnet endpoint: https://testnet.lez.logos.co/
  • ProgramId / ImageID: 338865e9549b18fb736020eaef87d5e20075b4250e10c00e08ea918c4871554a
  • ProgramBinary SHA-256: fac6f9715efc03edcb695dc71545cb24fac6bc86530644e2748f50d6ef9009f3
  • corrected lifecycle: create_mint, create_holding, mint_to(60), mint_to(40), set_mint_authority(None), post-revoke mint rejected
  • final mint state: authority=None, supply=100, decimals=6
  • final holding state: balance=100
  • standalone local-sequencer e2e: CI-included path plus real prepared-host run on 2026-06-09 with RISC0_DEV_MODE=0

Current public-testnet hashes

Step Transaction hash Verdict
deploy_program 793992258d88e69c63cbede6fabec3ff5768d84d824d7ee9f3170f85fb717dce Some(ProgramDeployment)
create_mint 55908821088c98e898c4ef99e9a36e02856092f7afd0155f3457c25c5cf67746 Some(Public)
create_holding 8a37a8fb7200856c57d199ce081f2b744ed3cbaeec8326c83092f5ca05ac668f Some(Public)
mint_to(60) daf5aa91f35dff8250794c0dcfe932de473c651bd25c946d76f09a42cfdb6a97 Some(Public)
mint_to(40) ed07b29c004a796d504814ddf1a9a0cfda373d1618398b620e330ccb529b3cce Some(Public)
set_mint_authority(None) 719123f918df2aee42c4e69d36ba8860807b2a69c97a2927097d8313a508550e Some(Public)
mint_to(post-revoke) 016043771c0cc60efaf158ec120a9bf341326967c881285878469503ddd3d4fa not included (Transaction is None)

Final state read from chain:

  • mint PDA 4gMBXeUskbUTzxoP8fJJEXj3jxTQz91m6ZW7fMsLMJq6: authority=None, supply=100, decimals=6
  • holding PDA 366n7Nj21EzD27BXRKE2hFDWPtJ1E2Fcx9RmqQoGRD7h: balance=100

Validation

Implementation repo at Tranquil-Flow/lp0013-token-suite commit 7a1de0cd8b432f6809704deb773c9faae3bc9dc2:

  • python3 scripts/validate-submission-docs.py
  • python3 -m pytest tests/test_validate_submission_docs.py -q
  • bash scripts/ci-verify-testnet.sh
  • cargo fmt --all -- --check
  • cargo check --workspace
  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • GitHub Actions on 7a1de0c: Rust workspace ✅, standalone LEZ local-sequencer preflight ✅; manual-only jobs are intentionally skipped unless manually dispatched.

λPrize repo validator on this PR head 39896fa376a0ce759601792058fe772c78762d84:

  • action-equivalent .github/scripts/validate-submission.sh with CHANGED_FILES=solutions/LP-0013.md
  • live PR check validate completed successfully ✅

PR scope

This PR updates only:

  • solutions/LP-0013.md

No private keys, seeds, credentials, private chat excerpts, or generated wallet storage are included.

Terms

By submitting this solution, I confirm that I have read and agree to the Terms & Conditions, and that the implementation is original work published under MIT OR Apache-2.0 licensing.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

✅ Validation passed

A reviewer will assess against the prize criteria.
ℹ️ Solution submission for LP-0013.
ℹ️ Checking repo: https://github.com/Tranquil-Flow/lp0013-token-suite


Automated check. See solution template and TERMS.

@Tranquil-Flow Tranquil-Flow force-pushed the solution/lp-0013-resubmission-video-pending branch from 7012401 to f0c9cc5 Compare June 9, 2026 09:38
@Tranquil-Flow

Copy link
Copy Markdown
Author

Final LP-0013 resubmission is ready for review.

Fresh narrated demo video: https://youtu.be/rUgsCCPiQfo

Validation status:

  • λPrize PR validator: passed
  • Implementation repo CI: passed
  • PR scope: only solutions/LP-0013.md
  • Public-testnet corrected lifecycle and standalone local-sequencer evidence are documented in the solution file.

Thank you.

@Tranquil-Flow

Copy link
Copy Markdown
Author

Note: This PR was initially closed and reopened intentionally. The previous LP-0013 submission (#57) was closed on June 3. To comply with the 7-day resubmission cooldown, this PR was closed and is now being reopened now that the waiting period has elapsed. The submission content is unchanged and validation has already passed.

@weboko weboko self-requested a review June 16, 2026 22:23
@xAlisher

Copy link
Copy Markdown

Heads-up on the on-chain evidence here: the deployed program's transactions currently return result: null on the public sequencer (testnet.lez.logos.co). The public testnet was reset on our side since you submitted, which wiped the pre-reset deployments — so this isn't anything wrong with your submission, it's on us.

When you get a chance, could you re-deploy the program and re-anchor the lifecycle on the current testnet so the transactions are live and independently re-verifiable again? No need to re-submit — just refreshing the on-chain state. Thanks!

@Tranquil-Flow

Copy link
Copy Markdown
Author

Current reset-era refresh status update (pushed to the PR branch):

  • Refreshed deploy is currently included again: 5b39deec38e49bb1bedf1956e5d7429ec20e3c009f0ccfe7a4fc449685cb4ce0.
  • Current endpoint uses camelCase JSON-RPC (getTransaction, sendTransaction, etc.).
  • rc3 LP-0013 public lifecycle txs fail before guest execution with InvalidSignature.
  • Built newer LEZ lez-core-v0.2.0 wallet and confirmed a built-in public tx can land: auth-transfer init -> 63f03aeeac4e4ee6676b444b18a7415bf95e7331f671c4ac4a3221e12bf22fff.
  • Locally adapting LP-0013 signing to the newer public-message prehash path changes behavior from immediate InvalidSignature to submitted hashes, but LP-0013 custom-program calls still do not land or mutate state:
    • create_mint: 3160a1d6af85f97cf29610beefb466c1f9f905f7c33bf79ae06feec22902da97 -> not included after polling
    • create_holding: 7c2086485a26e89af30da570a7276639c877eedda3587e1746a02feb4326dd15 -> not included after polling

So: I am not claiming the reviewer-requested fresh full lifecycle re-anchor is complete yet. Historical 2026-06-04 evidence proves the fix, but current reset-era live lifecycle still needs matching Logos client/runtime guidance for custom public program calls, or a testnet/runtime fix that includes these transactions.

Updated docs:

  • docs/CURRENT_TESTNET_REFRESH.md
  • solutions/LP-0013.md

@Tranquil-Flow

Copy link
Copy Markdown
Author

Update: current public-testnet v0.2.0 re-anchor is now complete and pushed.

What changed in this PR head (39896fa376a0ce759601792058fe772c78762d84):

  • solutions/LP-0013.md now cites the fresh 2026-06-27 v0.2.0 lifecycle, not the stale/reset-era hashes.
  • Implementation repo default branch is updated at Tranquil-Flow/lp0013-token-suite@7a1de0cd8b432f6809704deb773c9faae3bc9dc2.
  • Corrected release RISC Zero guest was wrapped as a risc0_binfmt::ProgramBinary before deploy (sha256 fac6f9715efc03edcb695dc71545cb24fac6bc86530644e2748f50d6ef9009f3).
  • Current public-testnet lifecycle hashes are now:
    • deploy: 793992258d88e69c63cbede6fabec3ff5768d84d824d7ee9f3170f85fb717dce
    • create_mint: 55908821088c98e898c4ef99e9a36e02856092f7afd0155f3457c25c5cf67746
    • create_holding: 8a37a8fb7200856c57d199ce081f2b744ed3cbaeec8326c83092f5ca05ac668f
    • mint_to(60): daf5aa91f35dff8250794c0dcfe932de473c651bd25c946d76f09a42cfdb6a97
    • mint_to(40): ed07b29c004a796d504814ddf1a9a0cfda373d1618398b620e330ccb529b3cce
    • set_mint_authority(None): 719123f918df2aee42c4e69d36ba8860807b2a69c97a2927097d8313a508550e
    • post-revoke mint: 016043771c0cc60efaf158ec120a9bf341326967c881285878469503ddd3d4fa (not included, as expected)
  • Final public state reads back authority=None, supply=100, decimals=6, holding balance=100.

Validation rerun:

  • implementation docs validator: pass
  • implementation validator self-tests: 8 passed
  • read-only public-testnet verifier: pass
  • cargo fmt --all -- --check: pass
  • cargo check --workspace: pass
  • cargo test --workspace: pass
  • cargo clippy --workspace --all-targets -- -D warnings: pass
  • action-equivalent Lambda Prize validator for this PR shape: pass
  • live PR validate check: success

PR remains one-file scope: solutions/LP-0013.md only.

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.

2 participants