fix(amm-ui): pin standalone client input

This commit is contained in:
Ricardo Guilherme Schmidt 2026-07-15 18:15:01 -03:00
parent c3a07949f3
commit 7265cf18eb
No known key found for this signature in database
GPG Key ID: 4665EDC861D87867
3 changed files with 22 additions and 16 deletions

View File

@ -82,10 +82,11 @@ nix-store --gc
Do not remove `/nix/store` directly. Do not remove `/nix/store` directly.
### A local flake lock error mentions an unlocked `amm_client` input ### A flake lock error mentions an unlocked input
The committed `flake.lock` includes a hash for the repository-local client The committed `flake.lock` pins the AMM client to the PR branch and hashes the
input. Restore that file if a local experiment replaced it, then retry: local shared-wallet source. Restore that file if a local experiment replaced
it, then retry:
```sh ```sh
git restore flake.lock git restore flake.lock

26
apps/amm/flake.lock generated
View File

@ -6,16 +6,19 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1784149231, "lastModified": 1784138901,
"narHash": "sha256-C2Z0t4FNq0tLlFosZ6/HNYoq2jqSkEJeytObS3I/MPA=", "narHash": "sha256-kqLqwQiTpc1Lj8RGz2EIWpFx2rPOBwXaMzwsByYx38o=",
"path": "../..", "owner": "logos-blockchain",
"type": "path" "repo": "lez-programs",
"rev": "ca0b67db08f19da01154a481017fc95d230516ae",
"type": "github"
}, },
"original": { "original": {
"path": "../..", "owner": "logos-blockchain",
"type": "path" "ref": "feat/amm-pool-creation",
}, "repo": "lez-programs",
"parent": [] "type": "github"
}
}, },
"crane": { "crane": {
"locked": { "locked": {
@ -26903,16 +26906,15 @@
"shared_wallet": { "shared_wallet": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1784149231, "lastModified": 1,
"narHash": "sha256-yhF0x6BrOn3IvffBq+jjnwfDWKK0NrMV7iFsHvCvqc8=", "narHash": "sha256-m7PiWaU5Beio+XeJP6Tz7JFUq8PZZJvcZrmKwShekTY=",
"path": "../shared/wallet", "path": "../shared/wallet",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "../shared/wallet", "path": "../shared/wallet",
"type": "path" "type": "path"
}, }
"parent": []
} }
}, },
"root": "root", "root": "root",

View File

@ -14,7 +14,10 @@
# deployed program ID and keeps the `logos_execution_zone` module identity. # deployed program ID and keeps the `logos_execution_zone` module identity.
logos_execution_zone.url = "github:logos-blockchain/logos-execution-zone-module?rev=d70225ced646934d2294fd9e8f8b03615c104b80"; logos_execution_zone.url = "github:logos-blockchain/logos-execution-zone-module?rev=d70225ced646934d2294fd9e8f8b03615c104b80";
amm_client.url = "path:../.."; # A path input to the repository contains this flake.lock, which makes
# its lock hash self-referential. Pin the client to this PR's remote
# branch instead so a fresh clone can evaluate the flake reproducibly.
amm_client.url = "github:logos-blockchain/lez-programs/feat/amm-pool-creation";
}; };
outputs = inputs@{ logos-module-builder, shared_wallet, ... }: outputs = inputs@{ logos-module-builder, shared_wallet, ... }: