-
Notifications
You must be signed in to change notification settings - Fork 283
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
started cleaning up JsonProvider usage #8512
Conversation
Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
…ider. Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
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.
PR Summary
This pull request focuses on cleaning up JsonProvider usage across the Teku codebase, primarily in the data exchange and serialization components.
- Replaced JsonProvider with JsonUtil for JSON serialization/deserialization in multiple classes
- Refactored data structures (e.g., Metadata, SignedAttestation) to use records and Optional for improved type safety
- Removed several custom deserializers (e.g., GetNewBlockResponseDeserializer) and updated related test classes
- Introduced new Attestation and Block record classes for slashing protection interchange data
- Updated SlashingProtectionInterchangeTestExecutor to use modern Java features and improve readability
29 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
...dataexchange/src/main/java/tech/pegasys/teku/data/slashinginterchange/SignedAttestation.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Paul Harris <[email protected]>
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.
lgtm
Documentation
doc-change-required
label to this PR if updates are required.Changelog