Skip to content

types: allow nonce to be zero#20

Open
avemeva wants to merge 1 commit into
onrik:masterfrom
bitlum:allow_nonce_to_be_zero
Open

types: allow nonce to be zero#20
avemeva wants to merge 1 commit into
onrik:masterfrom
bitlum:allow_nonce_to_be_zero

Conversation

@avemeva

@avemeva avemeva commented Aug 20, 2018

Copy link
Copy Markdown

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

onrik commented Oct 8, 2018

Copy link
Copy Markdown
Owner

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

@avemeva

avemeva commented Oct 8, 2018

Copy link
Copy Markdown
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