-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Snakecase clientVersion #2686
Snakecase clientVersion #2686
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! 💪 🎉 Looks like there is a quick lint check that needs to be addressed, and a newsfragment is missing. I think most of us have black
running on save, which should take care of most lint errors.
The newsfragment will be a new file called newsfragments/2686.breaking.rst
and can just contain a sentence with what changed.
Thank you!
@@ -1,2 +0,0 @@ | |||
def test_web3_clientVersion(w3): | |||
assert w3.clientVersion.startswith("EthereumTester/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may have just missed it, but it looks like this file got deleted instead of moved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this! Just forgot to push up my latest branch where I renamed this file.
6a120cd
to
c6abd37
Compare
@kclowes question on the linter: I ran black over the files in my PR and nothing seemed to change. Did I maybe miss something? |
Ah, sorry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you!
What was wrong?
Inherited javascript syntax. This PR does not include a deprecation step, intended for v6.
Related to #2598
How was it fixed?
Changed
clientVersion
toclient_version
where neededTodo:
Cute Animal Picture