Pull Request to ethereum’s web3.py

Last week I was interested in the rickandmortyapi because it gave me a path to figuring out how API’s are built and work to fetch data. This week I have decided to work on ethereums generic API python wrapper called web3.py..

Ethereums web3.py project was requesting that somebody go in and change a load of modules method names to snake_case so that they had a more pythonic styling.
I chose the GethPersonal module and changed all the method names from camelCase to Snake_Case.. Also, I updated the docs for that module to include the changes.

The different tasks I ended up doing to implement this was:

  1. Add deprecation warnings to old methods tests , and add new snake_case method tests.
  2. Add snake_case methods to GethPersonal class.
  3. Update the docs.
  4. Add new snake_case methods to the eth_tester and deprecate old methods.

link to issue I made here
https://github.com/ethereum/web3.py/issues/1429#issuecomment-538608791
link to pull request I created here
https://github.com/ethereum/web3.py/pull/1470

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website at WordPress.com
Get started
%d bloggers like this: