Skip to content

Conversation

@goodlyrottenapple
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings October 27, 2025 15:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the block hash history tests to use a parameterized TraitsTest pattern, enabling tests to run across multiple EVM revision types (both Monad and standard EVM revisions) instead of being hardcoded to Prague.

Key Changes:

  • Extracted the test fixture and helper methods into a reusable header file
  • Converted specific tests from TEST_F to TYPED_TEST to support multiple EVM revisions
  • Added revision-specific conditional logic to skip tests for pre-Prague revisions

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
block_hash_history_traits_test.hpp New header file containing base test fixture and parameterized trait-based test fixture for block hash history tests
block_hash_history_test.cpp Refactored to use the new trait-based test fixtures, converting Prague-specific tests to typed tests that work across revisions
CMakeLists.txt Added the new header file to the build configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@goodlyrottenapple goodlyrottenapple force-pushed the sam/traits_test_block_hash_history_test branch 4 times, most recently from d95dcba to 773181c Compare October 28, 2025 10:53
@goodlyrottenapple goodlyrottenapple force-pushed the sam/traits_test_block_hash_history_test branch from 773181c to 43c659d Compare October 28, 2025 10:56
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.

2 participants