Skip to content

Conversation

@kevaundray
Copy link
Owner

No description provided.

@github-actions
Copy link

github-actions bot commented May 17, 2025

Your PR title doesn't follow the Conventional Commit guidelines.

Example of valid titles:

  • feat: add new user login
  • fix: correct button size
  • docs: update README

Usage:

  • feat: Introduces a new feature
  • fix: Patches a bug
  • chore: General maintenance tasks or updates
  • test: Adding new tests or modifying existing tests
  • bench: Adding new benchmarks or modifying existing benchmarks
  • perf: Performance improvements
  • refactor: Changes to improve code structure
  • docs: Documentation updates
  • ci: Changes to CI/CD configurations
  • revert: Reverts a previously merged PR
  • deps: Updates dependencies

Breaking Changes

Breaking changes are noted by using an exclamation mark. For example:

  • feat!: changed the API
  • chore(node)!: Removed unused public function

Help

For more information, follow the guidelines here: https://www.conventionalcommits.org/en/v1.0.0/

@kevaundray
Copy link
Owner Author

Going to add back Forkspec because ChainSpec is not serializable and currently its quite a bit of work to get that going

@kevaundray
Copy link
Owner Author

TODO: ClientInput still accepts a RecoveredBlock

@kevaundray kevaundray force-pushed the kw/zkevm-benchmark-workload-repo branch from 7463154 to d026cee Compare May 19, 2025 19:51
jsign added 15 commits August 11, 2025 19:45
Use ChainConfig for stateless block validation
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
EMPTY_WITHDRAWALS, HOLESKY_GENESIS_HASH, HOODI_GENESIS_HASH, MAINNET_GENESIS_HASH,
SEPOLIA_GENESIS_HASH,
},
Header,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes in this file are related to the opened issue https://github.com/ethereum/execution-spec-tests/issues/2031

Ok(BlockExecutionOutput { state: state.take_bundle(), result })
}

/// Executes the EVM with the given input and accepts a state closure that is always invoked
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required for invalid block execution witnes-gen/proving

Comment on lines +77 to +90
#[macro_export]
macro_rules! track_cycles {
($name:expr, $body:expr) => {{
#[cfg(target_os = "zkvm")]
{
tracing::info!("cycle-tracker-report-start: {}", $name);
let result = $body;
tracing::info!("cycle-tracker-report-end: {}", $name);
result
}

#[cfg(not(target_os = "zkvm"))]
$body
}};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change, and the ones in the next file are mainly SP1 track cycle instrumentation.

I usually find these cycles tracking for SP1 helpful to quickly see optimizations impact, etc. But from another angle, cycles for some kind of optimizations are quite brittle. They're only meaningful for non-crypto related opts.

Prob these changes will never be upstreamed as they are. I guess we could think about creating a trait that can be provided for instrumentation, and the client can impl for different zkVMs -- but definitely is the last upstream effort I would leave pending (if ever happens). 😅

cc @kevaundray if you have any thought

//! Test runners for `BlockchainTests` in <https://github.com/ethereum/tests>
use crate::{
models::{BlockchainTest, ForkSpec},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining changes in this files are mainly the invalid block feature (i.e., returning partial witnesses), and very initial feature of running tests returning witnesses.

@jsign
Copy link
Collaborator

jsign commented Sep 19, 2025

Documented a bit the current set of changes:

Left PR comments with some pointers or extra details.

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.

3 participants