From 96dc69c39f5e199176186c264bbd1a9ca70780a8 Mon Sep 17 00:00:00 2001 From: r4bbit <445106+0x-r4bbit@users.noreply.github.com> Date: Mon, 3 Aug 2026 15:51:35 +0200 Subject: [PATCH] docs(apps/amm): remove stale BIN reference --- apps/amm/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/amm/README.md b/apps/amm/README.md index 6c7e4f0..139ef34 100644 --- a/apps/amm/README.md +++ b/apps/amm/README.md @@ -169,9 +169,9 @@ AMM_PROGRAM_BIN=/abs/path/to/amm.bin nix run .#amm-ui This is the same `amm.bin` you deployed via the testnet runbook (`programs/amm/methods/guest/target/riscv32im-risc0-zkvm-elf/docker/amm.bin`). -The app reads it, derives the AMM program id (`amm_client_program_id_from_elf`), -and reads the on-chain AMM config account to discover the TWAP oracle program id -for the pool's current-tick PDA. If `AMM_PROGRAM_BIN` is unset or unreadable, the +The app reads it, derives the AMM program id (the binary's RISC Zero Image ID, +via `amm_ffi`'s `program_id` op), and reads the on-chain AMM config account to +discover the TWAP oracle program id for the pool's current-tick PDA. If `AMM_PROGRAM_BIN` is unset or unreadable, the Swap view stays disabled (no pool can be resolved). > **Golden rule (from the runbook):** recompiling the AMM changes its program id