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

mark deprecated sha3 method as static #1350

Merged
merged 1 commit into from
May 9, 2019
Merged

Conversation

nbt-rezaem
Copy link
Contributor

What was wrong?

Related to Issue #1349

How was it fixed?

added @staticmethod annotation to the method

Cute Animal Picture

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

@nbt-rezaem
Copy link
Contributor Author

As all the sha3 tests were removed in v5, I wasn't sure I should add a test for this.

@pipermerriam
Copy link
Member

Can we get a test added for this (something that fails if the decorator is missing)

@nbt-rezaem
Copy link
Contributor Author

I'll fix the lint error when the tests pass.

@nbt-rezaem nbt-rezaem force-pushed the master branch 4 times, most recently from 2b803bd to b69cc23 Compare May 8, 2019 15:57
@nbt-rezaem
Copy link
Contributor Author

Is the added test good enough?

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, thank you! I just added a quick check to make sure the deprecation warning is shown as expected.

@nbt-rezaem
Copy link
Contributor Author

Thanks for improving the test. Please merge at your convenience.

@kclowes kclowes merged commit 388cd2d into ethereum:master May 9, 2019
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