feat: Add profiling of zkVM cycle costs per opcode#193
Draft
Wollac wants to merge 30 commits into
Draft
Conversation
# Conflicts: # crates/core/src/lib.rs
9358ce1 to
e3aaecc
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.