Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add ValidBlocks and InvalidBlocks blockchain tests #13969

Merged
merged 6 commits into from
Jan 24, 2025

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jan 24, 2025

supersedes #13870 (can't push because opened from unallowed branch)

trying to append data to Headers as block #4 but expected block #11

@joshieDo these tests fail due to some static file issue

VolodymyrBg and others added 3 commits January 19, 2025 21:24
Implements the TODO in tests.rs by adding test coverage for ValidBlocks and 
InvalidBlocks test suites from the Ethereum test cases. This enhances our test 
coverage by including these important blockchain test cases that verify valid 
and invalid block processing.

The implementation:
- Adds a new blockchain_test! macro for running blockchain tests
- Creates a new blockchain_tests module
- Implements tests for both ValidBlocks and InvalidBlocks test suites
@mattsse mattsse requested a review from gakonst as a code owner January 24, 2025 10:34
@mattsse mattsse changed the title Matt/enable blockchaintests test: Add ValidBlocks and InvalidBlocks blockchain tests Jan 24, 2025
@mattsse mattsse added the C-test A change that impacts how or what we test label Jan 24, 2025
@mattsse mattsse merged commit abcfbfd into main Jan 24, 2025
45 checks passed
@mattsse mattsse deleted the matt/enable-blockchaintests branch January 24, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-test A change that impacts how or what we test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants