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

deprecate generateGasPrice in favor of snakecased generate_gas_price #1905

Merged

Conversation

tmckenzie51
Copy link
Contributor

@tmckenzie51 tmckenzie51 commented Mar 11, 2021

What was wrong?

Added generate_gas_price, deprecated generateGasPrice

Related to Issue #1429

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@tmckenzie51 tmckenzie51 changed the title Tiffany/generate gas price to snakecase deprecate generateGasPrice in favor of snakecased generate_gas_price Mar 11, 2021
@tmckenzie51 tmckenzie51 force-pushed the tiffany/generateGasPrice-to-snakecase branch from 39b3087 to e96fece Compare March 22, 2021 16:34
@tmckenzie51 tmckenzie51 force-pushed the tiffany/generateGasPrice-to-snakecase branch from 48c13e2 to 0a74e66 Compare March 26, 2021 20:29
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.

Manual testing looks good to me! I just left a few doc comments, and one on testing for a DeprecationWarning.

docs/web3.eth.rst Outdated Show resolved Hide resolved
docs/gas_price.rst Outdated Show resolved Hide resolved
docs/web3.eth.rst Outdated Show resolved Hide resolved
@@ -14,14 +14,14 @@ def test_get_set_gasPrice(web3):


def test_no_gas_price_strategy_returns_none(web3):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this the one we paired on trying to add a deprecation warning? If not, I'd expect a test that ensures the DeprecationWarning gets raised somewhere in this file.

@tmckenzie51 tmckenzie51 merged commit d9accbe into ethereum:master Apr 2, 2021
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