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

Use ValidationError from eth_utils #68

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

gsalgado
Copy link
Collaborator

Having a ValidationError defined both here and there makes no sense
and forces callsites to catch them both in some situations.

Having a ValidationError defined both here and there makes no sense
and forces callsites to catch them both in some situations.
@gsalgado gsalgado force-pushed the eth-utils-validationerror branch from c99d8db to 00e27eb Compare March 10, 2020 01:16
Copy link
Contributor

@cburgdorf cburgdorf left a comment

Choose a reason for hiding this comment

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

👍

@gsalgado gsalgado merged commit f3626a8 into ethereum:master Mar 13, 2020
@carver
Copy link
Collaborator

carver commented Apr 22, 2020

This causes breakages in libraries (eth_keys.exceptions.ValidationError was a publicly used API). I had released this change as a patch release.

I missed that it was a breaking change when scanning the included PRs since the last release. What would have helped me when doing the release is if this PR either:

  1. highlighted this as a breaking change, or
  2. patched through eth_utils.ValidationError as the new publicly available eth_keys.exceptions.ValidationError (which I think would have been backwards compatible)

@carver
Copy link
Collaborator

carver commented Apr 22, 2020

I'm contemplating doing another patch release v0.3.3 that takes route 2 above

pacrob pushed a commit to pacrob/eth-keys that referenced this pull request Dec 20, 2023
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