-
Notifications
You must be signed in to change notification settings - Fork 7
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
enha: add snapshot tests for external primitives #2007
enha: add snapshot tests for external primitives #2007
Conversation
PR Reviewer Guide 🔍(Review updated until commit 047bb06)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 047bb06
Previous suggestionsSuggestions up to commit 047bb06
|
Persistent review updated to latest commit 047bb06 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool macro 👍
Final benchmark: Git Info:
Configuration:
RPS Stats: Max: 2099.00, Min: 1490.00, Avg: 1913.87, StdDev: 82.16 Plot: View Plot |
PR Type
Enhancement, Tests
Description
Add Dummy trait implementations for external primitives
Implement JSON snapshot tests for primitives
Add serde derive for PartialEq on structs
Import necessary types and traits
Changes walkthrough 📝
6 files
Implement Dummy trait for ExternalBlock
Implement Dummy trait for ExternalBlockWithReceipts
Implement Dummy trait for ExternalReceipt
Implement Dummy trait for ExternalReceipts
Implement Dummy trait for ExternalTransaction
Add gen_test_json macro for JSON snapshot tests
6 files
Add JSON snapshot tests for primitives
Add JSON snapshot for ExternalBlock
Add JSON snapshot for ExternalBlockWithReceipts
Add JSON snapshot for ExternalReceipt
Add JSON snapshot for ExternalReceipts
Add JSON snapshot for ExternalTransaction