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

TransactionTests Update: ttRSValue #959

Merged
merged 3 commits into from
Oct 15, 2021
Merged

TransactionTests Update: ttRSValue #959

merged 3 commits into from
Oct 15, 2021

Conversation

marioevz
Copy link
Member

Contains updated TransactionTests for category ttRSValue.

],
"TransactionWithSvalue1" :
{
"expectException" :
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it a github bug or ident here is different to the one with transaction?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indent was incorrect in the original file, I tried to make indentation consistent in all files.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you added TAB

{
"expectException" :
{
"<=EIP150": "InvalidVRS",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, I forgot I actully support <= in network translation

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here it should reject I think not with invalid chain id but with prefixed 00, as the v value limitations. need to check with the v value cap.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the expected to LeadingZerosV, and changed the V value to bigint.
Let me know if this is ok.

@@ -14,9 +13,9 @@
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
"v" : "27",
"v" : "28",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change?

Copy link
Collaborator

@winsvega winsvega 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

@winsvega winsvega merged commit 45b5af9 into develop Oct 15, 2021
@winsvega winsvega deleted the txUpdateRSValue branch October 15, 2021 16:45
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