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

feat: expand Seal api #773

Merged
merged 3 commits into from
Oct 19, 2024
Merged

feat: expand Seal api #773

merged 3 commits into from
Oct 19, 2024

Conversation

prestwich
Copy link
Member

@prestwich prestwich commented Oct 16, 2024

Motivation

Was working on alloy-rs/alloy#1485 and it seemed like there were a few holes in the API

this is a breaking change as it flattens the serde object

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, this type should flatten and renaming seal -> hash is more useful

pending @DaniPopes

@prestwich
Copy link
Member Author

prestwich commented Oct 19, 2024

makes sense, this type should flatten and renaming seal -> hash is more useful

we can rename to hash if you'd prefer. right now it only allows that as a deser alias, while still producing seal during serialization

This PR includes a serde helper mod for renaming to hash
alloy-rs/alloy#1485

@DaniPopes DaniPopes merged commit 9c53778 into main Oct 19, 2024
29 checks passed
@DaniPopes DaniPopes deleted the prestwich/seal-api branch October 19, 2024 07:55
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.

3 participants