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

Feedback #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Feedback #14

wants to merge 3 commits into from

Conversation

g-r-a-n-t
Copy link

It will take a little more time for me to figure out what's going on here. For now I've just left a few inline comments and made some minor changes.

Looks good overall

@g-r-a-n-t g-r-a-n-t marked this pull request as draft August 29, 2020 01:52
src/lib.rs Outdated Show resolved Hide resolved
tests/address.rs Outdated Show resolved Hide resolved
src/errors.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
feedback

feedback
@g-r-a-n-t g-r-a-n-t marked this pull request as ready for review September 9, 2020 18:02
@g-r-a-n-t
Copy link
Author

Alright, Ive coded up all of my suggestions, let me know if you disagree with anything :)

Ok(Prototype::Data(len)) => {
if strict {
let payload_info = rlp_val.payload_info().map_decoder_error()?;
let payload_info = rlp_val.payload_info().map_err(|err| err.to_py_err())?;
Copy link
Owner

Choose a reason for hiding this comment

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

Mmh, the previous map_decoder_error() looks a bit cleaner to me...

@cburgdorf
Copy link
Owner

Thanks for the continued feedback! I'm going to look through it more thoroughly soon when my brain gets out of Python land again.

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