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

Block Identifier default change #2777

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Jan 12, 2023

I'm not sure what happened, but I can't add to the original PR, which can be found at #2335.

Here is the PR description from there:

Changed default block_identifier in contract.call() to None.
Changed parse_block_identifier to use web3.eth.defaultBlock if None is passed in

What was wrong?

#2334

How was it fixed?

changed block_identifier default to None in contract.call
changed parse_block_identifier to parse None to web3.eth.default_block

Todo:

Cute Animal Picture

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

@kclowes kclowes changed the base branch from credmark/master to master January 12, 2023 21:13
@kclowes kclowes changed the title Credmark/master Block Identifier default change Jan 12, 2023
@kclowes kclowes marked this pull request as ready for review January 12, 2023 21:18
Changed default block_identifier in contract.call() to None.
Changed parse_block_identifier to use web3.eth.defaultBlock if None is passed in
Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

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

lgtm 👍🏼

@kclowes
Copy link
Collaborator Author

kclowes commented Jan 13, 2023

Thanks for the contribution @newtectonics!

@kclowes kclowes merged commit 7805def into ethereum:master Jan 13, 2023
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.

3 participants