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: impl From<Eip2718Error> for alloy_rlp::Error #1359

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Sep 25, 2024

Motivation

Eip2718Error is just a more specific decoding error and it is useful to have an easy way to convert it to alloy-rlp error

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, CI failures unrelated

Comment on lines 57 to 58
#[cfg(feature = "std")]
impl std::error::Error for Eip2718Error {}
Copy link
Member

Choose a reason for hiding this comment

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

unrelated: this lacks fn source which should return the wrapped rlperr

mind fixing this in a separate pr quickly?

@mattsse mattsse merged commit 58959c2 into alloy-rs:main Sep 25, 2024
13 of 26 checks passed
lwedge99 pushed a commit to sentioxyz/alloy that referenced this pull request Oct 8, 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