Skip to content

feat: Add profiling of zkVM cycle costs per opcode#193

Draft
Wollac wants to merge 30 commits into
mainfrom
feat/cycle-tracker
Draft

feat: Add profiling of zkVM cycle costs per opcode#193
Wollac wants to merge 30 commits into
mainfrom
feat/cycle-tracker

Conversation

@Wollac

@Wollac Wollac commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@Wollac Wollac force-pushed the feat/cycle-tracker branch from 9358ce1 to e3aaecc Compare November 18, 2025 19:08
@Wollac Wollac changed the title Add gas a cycle tracker Add profiling of zkVM cycle costs per opcode Nov 19, 2025
@Wollac Wollac changed the title Add profiling of zkVM cycle costs per opcode feat: Add profiling of zkVM cycle costs per opcode Nov 19, 2025
@Wollac Wollac marked this pull request as draft January 30, 2026 14:39
@linear

linear Bot commented Jan 30, 2026

Copy link
Copy Markdown

Wollac added 5 commits March 10, 2026 15:52
Resolved conflicts:
- Cargo.toml: merged flate2/num-bigint/postcard (cycle-tracker) + humansize (main)
- crates/core/Cargo.toml: kept postcard/risc0-zkvm for cycle-tracker, adopted
  risc0-crypto-evm zkVM target dep from main (drops old ark-* + risc0-zkp)
- crates/core/src/lib.rs: kept cycle_tracker module + adopted rlp_block serde
  adapter from main; updated stateless_validation_with_trie call to stateless:: crate
- crates/host/Cargo.toml: kept reth-evm optional (cycle-tracker feature) +
  added v1 legacy cache deps from main; dropped reth-stateless (now stateless)
Updates CycleTrackerBlockExecutor to match BasicBlockExecutor in
reth v2.1.0: relocates BlockExecutionError import, drops the
now-default without_state_clear(), and threads &'a mut State<DB>
through BlockExecutorFor. Replaces deprecated Gas::spent() with
Gas::total_gas_spent() and aligns the field name with reth's
strategy_factory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant