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

tests return values against different geth versions #1790

Merged
merged 2 commits into from
Nov 12, 2020

Conversation

tmckenzie51
Copy link
Contributor

@tmckenzie51 tmckenzie51 commented Nov 9, 2020

What was wrong?

Related to Issue #1572

How was it fixed?

In order to be compatible with the most recent geth versions v 1.9.19+, test_eth_getBlockByNumber was modified to ensure that a block number is being returned, rather than null. Also, a test for getBlockByHash for pending blocks was added.

Todo:

Cute Animal Picture

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

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.

Looks good to me! I just left the same comment twice :)

web3/_utils/module_testing/eth_module.py Outdated Show resolved Hide resolved
tests/integration/test_ethereum_tester.py Outdated Show resolved Hide resolved
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