build(amm): fork logos_execution_zone for QtRO byte-string tx args + align amm_client_ffi to lee_core v0.2.0

This commit is contained in:
Andrea Franz 2026-07-16 15:23:54 +02:00 committed by r4bbit
parent 8f67c4c4b6
commit 69cd58d377
3 changed files with 12 additions and 8 deletions

12
flake.lock generated
View File

@ -24345,17 +24345,17 @@
"nix-bundle-lgx": "nix-bundle-lgx_40"
},
"locked": {
"lastModified": 1782313954,
"narHash": "sha256-psh5EtcIZh6kzFD4pQDT8bae9JS9eVtk5nPWxR2aGSA=",
"owner": "logos-blockchain",
"lastModified": 1784205966,
"narHash": "sha256-9qDpsio9ms7sz2yf8umH2bZLL4esjNuNDWUvsPzdNYc=",
"owner": "gravityblast",
"repo": "logos-execution-zone-module",
"rev": "d2e9400ac06c3cdbfc2405b4f153fff9841a453c",
"rev": "a48fd1c7447885895c15a929b945b713cebf2032",
"type": "github"
},
"original": {
"owner": "logos-blockchain",
"owner": "gravityblast",
"ref": "fix/generic-tx-bstr-serialization",
"repo": "logos-execution-zone-module",
"rev": "d2e9400ac06c3cdbfc2405b4f153fff9841a453c",
"type": "github"
}
},

View File

@ -21,7 +21,11 @@
# match the metadata.json `dependencies` entry so the builder can resolve
# it as a module dependency. This rev pins LEZ (lssa) at fb8cbac4, which
# includes the macOS Metal-build fix, so no `--override-input` is needed.
logos_execution_zone.url = "github:logos-blockchain/logos-execution-zone-module?rev=d2e9400ac06c3cdbfc2405b4f153fff9841a453c";
# Fork of logos-blockchain/logos-execution-zone-module @ d2e9400a with the
# QtRO serialization fix: send_generic_public_transaction's `instruction` and
# `program_dependencies` use byte-string IPC types so the args survive the
# cross-process boundary. See docs/amm-swap-qtro-serialization-bug.md.
logos_execution_zone.url = "github:gravityblast/logos-execution-zone-module?ref=fix/generic-tx-bstr-serialization";
};
outputs =

View File

@ -20,7 +20,7 @@ workspace = true
[dependencies]
amm_core = { path = "../core" }
twap_oracle_core = { path = "../../twap_oracle/core" }
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc6", features = ["host"], package = "lee_core" }
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0", features = ["host"], package = "lee_core" }
borsh = { version = "1.5", features = ["derive"] }
risc0-zkvm = { version = "=3.0.5", default-features = false }
risc0-binfmt = { version = "=3.0.4", default-features = false }