-
Notifications
You must be signed in to change notification settings - Fork 318
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
TransactionTests Update: ttNonce #958
Conversation
"data" : "", | ||
"gasLimit" : "21000", | ||
"gasPrice" : "1", | ||
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", |
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.
this is not 18446744073709551617 (64 + 1)
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.
Fixed the values in latest commit.
"data" : "", | ||
"gasLimit" : "21000", | ||
"gasPrice" : "1", | ||
"nonce" : "18446744073709551615", |
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.
this is 64 - 1, need to name the test accordingly
and where the exact bound ?
I think it because there was a discussion on nonce cap.
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.
It fails on 2 ** 64, so I changed the tests to match the correct values and added another test case in latest commit.
{ | ||
"expectException" : | ||
{ | ||
">=Frontier": "NonceTooLong" |
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.
so here it did fail on >256 ?
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.
It correctly fails on 2**64, I updated all tests.
Contains updated TransactionTests for category ttNonce.