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

Eliminate signTransaction warning #1404

Merged
merged 1 commit into from
Aug 1, 2019
Merged

Conversation

fubuloubu
Copy link
Contributor

What was wrong?

I get the following warning when using this middleware:

eth_account/signers/local.py:88: DeprecationWarning: signTransaction is deprecated in favor of sign_transaction

It's annoying lol

How was it fixed?

Removed deprecated usage

Cute Animal Picture

Ack

@fubuloubu
Copy link
Contributor Author

fubuloubu commented Jul 29, 2019

I found another module that uses the deprecated syntax. I believe this is all the usages that should change. There are more I found in search, but this only affects instances of Account.signTransaction() not Web3.eth.signTransaction()

@davesque
Copy link
Contributor

Hehe, that picture.

@fubuloubu
Copy link
Contributor Author

The one failed CircleCI task seems pretty unrelated to the functionality here? Not sure what the issue is.

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.

That picture 😆

LGTM! :shipit: Do you mind rebasing those two commits together? if you don't want to/don't have time I'm happy to do it, just let me know. Thank you!

@fubuloubu
Copy link
Contributor Author

I don't have the repo handy, I would appreciate it if you could handle that for me!

@kclowes kclowes merged commit 017af62 into ethereum:master Aug 1, 2019
@fubuloubu fubuloubu deleted the patch-1 branch August 1, 2019 19:59
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