Skip to content

Conversation

@goodlyrottenapple
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings October 27, 2025 16:57
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_reward_test.cpp file to use a parameterized test approach via TraitsTest instead of manually testing each Ethereum hard fork separately. The change consolidates multiple test blocks into a single test that uses compile-time conditional logic to verify behavior across different EVM revisions.

Key Changes:

  • Converted from individual test cases per hard fork to a single TYPED_TEST that validates all EVM revisions
  • Replaced multiple code blocks testing Frontier, Byzantium, Constantinople/Petersburg, and Paris with conditional if constexpr statements
  • Standardized variable naming across test scenarios

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

@goodlyrottenapple goodlyrottenapple force-pushed the sam/traits_test_block_reward_test branch from 98d36a1 to 14014c5 Compare October 27, 2025 16:58
@zander-xyz zander-xyz force-pushed the sam/traits_test_block_reward_test branch from 14014c5 to 0c2ec86 Compare October 28, 2025 15: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.

3 participants