mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-17 20:39:28 +00:00
Move the spel-framework dependency from the 0x-r4bbit/spel fork (v0.5.0 @ 91023c9, the refactor/lez-v020-compat branch) to the released logos-co/spel tag v0.6.0. spel v0.6.0 is built against the final logos-execution-zone v0.2.0, not the v0.2.0-rc6 this repo pinned. The two must match: with rc6, the guest ELF build fails because spel's lee_core::program::ValidityWindow and the repo's own copy are distinct types the #[lez_program] macro can't unify. So this also bumps every logos-execution-zone pin (lee/lee_core aliased as nssa/nssa_core, plus clock_core) from v0.2.0-rc6 to the final v0.2.0. - 10 Cargo.toml switched to logos-co/spel tag v0.6.0 - 24 logos-execution-zone pins across 18 Cargo.toml moved rc6 -> v0.2.0 - All 7 Cargo.lock files re-resolved (root + 5 guest workspaces + benchmark); pulls in lee_core v0.1.0 (v0.2.0) as a spel transitive dep Guest ImageIDs change as a result: the ID hashes the whole guest ELF, which links the updated spel-framework and lee_core object code, even though the program sources are unchanged. Update any ImageID-derived values (deployed program IDs, PDA addresses, AMM/ATA program-id inputs) before submitting transactions.
21 lines
1.1 KiB
TOML
21 lines
1.1 KiB
TOML
[package]
|
|
name = "benchmark"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# Its own workspace root: this crate is EXCLUDED from the repo workspace (see the root Cargo.toml
|
|
# `exclude` list) so that `cargo {test,clippy,build} --workspace`, the Makefile targets, and CI
|
|
# never compile it. It pulls the heavy `risc0-zkvm` `prove` feature and only exists to produce the
|
|
# cycle benchmarks in `tests/`. Run it explicitly:
|
|
# cargo test --manifest-path programs/benchmark/Cargo.toml -- --ignored --nocapture
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
nssa = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0", package = "lee" }
|
|
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0", features = ["host"], package = "lee_core" }
|
|
clock_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0" }
|
|
twap_oracle_core = { path = "../twap_oracle/core" }
|
|
twap-oracle-methods = { path = "../twap_oracle/methods" }
|
|
# `prove` exposes `ExecutorImpl`/`Session` (the cycle split); we only execute, never prove.
|
|
risc0-zkvm = { version = "=3.0.5", features = ["prove"] }
|