Skip to content

test(node/p2p): add extensive testing for block decoding validation #1452

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

theochap
Copy link
Member

Description

This PR, built on top of #1451, adds a couple of unit test to ensure the block decoding operations are performed correctly and help enforce some of the validations rules from the optimism spec.

Note

Merging this PR will make progress towards #1340. It should be reviewed after #1451

Copy link

codecov bot commented Apr 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.8%. Comparing base (0f0dc45) to head (6f3604f).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@theochap theochap force-pushed the theo/refactor-validity-checks branch from 1239834 to d89a129 Compare April 17, 2025 02:34
@theochap theochap force-pushed the theo/add-decoding-tests branch from 004edf1 to 9861933 Compare April 17, 2025 02:34
@theochap theochap self-assigned this Apr 17, 2025
@theochap theochap added M-tests Meta: Testing related A-node Area: node crates labels Apr 17, 2025
@theochap theochap moved this to In Review in Project Tracking Apr 17, 2025
@theochap theochap force-pushed the theo/refactor-validity-checks branch from d89a129 to 7dcf1a9 Compare April 17, 2025 02:54
@theochap theochap force-pushed the theo/add-decoding-tests branch from 9861933 to 26eb292 Compare April 17, 2025 02:54
Base automatically changed from theo/refactor-validity-checks to main April 17, 2025 12:21
@theochap theochap force-pushed the theo/add-decoding-tests branch from 26eb292 to 6f3604f Compare April 17, 2025 14:19
@theochap theochap enabled auto-merge April 17, 2025 14:31
@theochap theochap added this pull request to the merge queue Apr 17, 2025
Merged via the queue into main with commit 32642e8 Apr 17, 2025
20 checks passed
@theochap theochap deleted the theo/add-decoding-tests branch April 17, 2025 14:52
@github-project-automation github-project-automation bot moved this from In Review to Done in Project Tracking Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-node Area: node crates M-tests Meta: Testing related
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants