mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-03 05:29:50 +00:00
Bump the LEZ dependency from the `lez-core-v0.2.0` tag to `v0.2.0-rc6` across the workspace and all guest manifests (still resolving via the renamed `lee_core`/`lee` packages), and regenerate the lockfiles to match. rc6 moved the clock program out of `nssa` into a separate system-programs crate (gated behind the guest-building `artifacts` feature), so adapt the tests: - Import `ClockAccountData` and `CLOCK_01_PROGRAM_ACCOUNT_ID` from `clock_core` instead of `nssa`, and build clock data via `ClockAccountData::to_bytes()` rather than hand-encoding the Borsh layout. - `V03State::new()` no longer auto-creates the clock account, so AMM tests seed the canonical 1-block clock explicitly before ops that read it. - `advance_clock` now writes the clock account directly via `force_insert_account` (the clock can no longer be ticked with a real transaction), matching how upstream rc6 state-machine tests seed accounts. - Add the `clock_core` dependency to integration_tests/benchmark.
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-rc6", package = "lee" }
|
|
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc6", features = ["host"], package = "lee_core" }
|
|
clock_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc6" }
|
|
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"] }
|