Skip to content

feat: expand Seal api#773

Merged
DaniPopes merged 3 commits intomainfrom
prestwich/seal-api
Oct 19, 2024
Merged

feat: expand Seal api#773
DaniPopes merged 3 commits intomainfrom
prestwich/seal-api

Conversation

@prestwich
Copy link
Copy Markdown
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

@prestwich prestwich self-assigned this Oct 16, 2024
Copy link
Copy Markdown
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
Copy Markdown
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
@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