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: add EncodableSignature trait #692

Closed
wants to merge 3 commits into from

Conversation

leruaa
Copy link
Contributor

@leruaa leruaa commented Jul 24, 2024

Motivation

Per @mattsse comment: #689 (comment)

To give more context: the goal is to standardize signature encoding via an helper trait to be able to use alloy tx types in reth with reth signature type.

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.

this seems like an appropriate solution to our problem, but I wonder could we introduce this trait in the alloy crate instead first?

everything that's required by this trait should be available via public API and could be implemented on the exported Signature type I believe?

@leruaa
Copy link
Contributor Author

leruaa commented Jul 25, 2024

Done in alloy-rs/alloy#1100

@leruaa leruaa closed this Jul 25, 2024
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.

2 participants