Skip to content

Conversation

@goodlyrottenapple
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings October 23, 2025 15:55
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 transaction gas tests to use the parameterized TraitsTest fixture instead of hard-coded EVM revision tests. This enables testing across all EVM revisions systematically while adapting expectations based on revision-specific features (EIP-2028, EIP-2930, EIP-3860, and EIP-1559).

Key changes:

  • Replaced separate TEST functions with TYPED_TEST using TraitsTest fixture
  • Introduced helper functions to compute revision-dependent gas costs at compile-time
  • Consolidated previously separated revision-specific test cases into unified parameterized tests

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@goodlyrottenapple goodlyrottenapple force-pushed the sam/traits_test_transaction_gas_test branch from 2fae3ef to 3aeb3fe Compare October 23, 2025 15:56
@goodlyrottenapple goodlyrottenapple force-pushed the sam/traits_test_transaction_gas_test branch from 3aeb3fe to 7be3545 Compare October 24, 2025 11:46
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