mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-08-26 22:51:14 +00:00
Follow the spel fork's `nssa → lee` refactor (chore/update-lez): the `#[lez_program]` macro now emits `lee_core::…` paths, so the crate must be referenced by its real name rather than the `nssa_core` alias. - Cargo.toml: rename the `nssa_core`/`nssa` dep keys to `lee_core`/`lee` and drop the now-redundant `package = "lee_core"`/`package = "lee"` aliases (dep name == package name). - Rust: `nssa_core::` → `lee_core::`, `nssa::` → `lee::` across programs, modules, and tools. - Docs: update the library reference in CLAUDE.md and README.md. Also drop the dead `NSSA_WALLET_HOME_DIR` env var — superseded by `LEE_WALLET_HOME_DIR`, which is the only wallet-home var any v0.2.x wallet reads — from the test tooling (setup-amm-testnet.sh, custom-token.mjs, run-basecamp-e2e.sh) and docs. Closes #225
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]
|
|
lee = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.4" }
|
|
lee_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.4", features = ["host"] }
|
|
clock_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.4" }
|
|
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"] }
|