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

Add Snake Case Methods(Shh) #1433

Merged
merged 1 commit into from
Sep 25, 2019
Merged

Add Snake Case Methods(Shh) #1433

merged 1 commit into from
Sep 25, 2019

Conversation

Patil2099
Copy link
Contributor

@Patil2099
Copy link
Contributor Author

Is this Correct @pipermerriam?
Thanks!

@pipermerriam pipermerriam requested a review from kclowes August 25, 2019 17:20
Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

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

This is a great start @Patil2099!
In addition to my comments in the code, there are a few more things that need to be done:

Thanks!

docs/web3.geth.rst Show resolved Hide resolved
docs/web3.geth.rst Outdated Show resolved Hide resolved
web3/parity.py Show resolved Hide resolved
@Patil2099
Copy link
Contributor Author

@kclowes @pipermerriam I made more changes Please Review Them.
Thanks !

Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

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

Looking good @Patil2099! Based on the failing integration tests, it looks like a few of the methods didn't get moved to snake case. The missing methods that I see are has_key_pair, has_sym_key, generate_sym_key_from_password, and set_max_message_size.

If you could also check that the correct deprecation warnings are raised in the tests, that would be great. Example can be found here. Thanks @Patil2099!

web3/_utils/shh.py Show resolved Hide resolved
@Patil2099
Copy link
Contributor Author

@kclowes I made half changes to the test are those correct? I wanted to know if it is correct then I will proceed with it also can you give me an example if I am wrong

@Patil2099
Copy link
Contributor Author

Patil2099 commented Aug 29, 2019 via email

@Patil2099
Copy link
Contributor Author

Patil2099 commented Aug 29, 2019

@kclowes @pipermerriam I made some more changes. Please review them and let me know if some other change is required.

@Patil2099
Copy link
Contributor Author

@kclowes @pipermerriam I made all the changes that were required. Please Review My PR

@kclowes
Copy link
Collaborator

kclowes commented Sep 4, 2019

@Patil2099 All the tests should be passing. Once those are all green, I'll take a closer look!

@Patil2099
Copy link
Contributor Author

@kclowes Can you please help a little bit?
Thanks!

from .base import ( # noqa: F401
BaseProvider,
JSONBaseProvider,
)

from .rpc import HTTPProvider # noqa: F401
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Patil2099 I believe your tests are erroring right now because these lines are order-dependent.

@kclowes
Copy link
Collaborator

kclowes commented Sep 21, 2019

@Patil2099 I made some updates, and screwed up your history in the process. Sorry about that. I'll pick it back up on Monday.

@kclowes
Copy link
Collaborator

kclowes commented Sep 25, 2019

@Patil2099 I got the tests running, and made some updates to the tests to get them passing. I also squashed all the commits down to one. I'm happy to expand on either of those things more if you are interested in picking up another module. Thanks for all of your work!

@kclowes kclowes merged commit f997eb2 into ethereum:master Sep 25, 2019
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