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

types: allow nonce to be zero #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewshvv
Copy link

@andrewshvv andrewshvv commented Aug 20, 2018

As far as I understand nonce might be zero, but current version of library doesn't allow it, and just do not place "nonce" in json request, which later interpreted by daemon that nonce specified at all, and request is not valid.

Not sure for 100% but that seems like this bug caused our transaction stuck on queue pool of ethereum daemon.

@onrik
Copy link
Owner

onrik commented Oct 8, 2018

As you can see, nonce is optional parameter https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sendtransaction

@andrewshvv
Copy link
Author

@onrik I am using geth, and if "nonce" is not specified in the request, geth treats it as invalid.

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