Skip to content

Comments

refactor: re-export statetest-types from revm crate behind test-types feature#3247

Merged
rakita merged 1 commit intomainfrom
move_statetest
Dec 22, 2025
Merged

refactor: re-export statetest-types from revm crate behind test-types feature#3247
rakita merged 1 commit intomainfrom
move_statetest

Conversation

@rakita
Copy link
Member

@rakita rakita commented Dec 22, 2025

Summary

  • Update statetest-types to depend on individual revm crates (primitives, bytecode, state, context, context-interface, database) instead of revm to avoid circular dependency
  • Add statetest-types as an optional dependency to the revm crate
  • Add test-types feature flag to revm that enables statetest-types re-export
  • Update revme to import statetest_types from revm instead of directly from revm-statetest-types

Test plan

  • cargo fmt --all passes
  • cargo clippy --workspace --all-targets --all-features passes

🤖 Generated with Claude Code

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 22, 2025

CodSpeed Performance Report

Merging #3247 will improve performance by 3.42%

Comparing move_statetest (b97ab80) with main (ba5bb55)

Summary

⚡ 1 improvement
✅ 172 untouched

Benchmarks breakdown

Benchmark BASE HEAD Efficiency
EXTCODEHASH_50 47.3 µs 45.7 µs +3.42%

… feature

- Update statetest-types to depend on individual revm crates (primitives,
  bytecode, state, context, context-interface, database) instead of revm
  to avoid circular dependency
- Add statetest-types as optional dependency to revm crate
- Add test-types feature flag to revm that enables statetest-types
- Update revme to import statetest_types from revm instead of directly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>

#[cfg(feature = "test-types")]
#[doc(inline)]
pub use statetest_types;
Copy link
Member Author

Choose a reason for hiding this comment

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

This is only part that touched revm lib, other changes are revme related and not consensus sensitive.

@rakita rakita merged commit da12fae into main Dec 22, 2025
31 checks passed
@github-actions github-actions bot mentioned this pull request Dec 22, 2025
@rakita rakita deleted the move_statetest branch December 24, 2025 17:35
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