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

Spurious Dragon: EIP155 replay protection #282

Closed
wants to merge 4 commits into from

Conversation

pirapira
Copy link
Member

This follows ethereum/EIPs#155 as part of the Spurious Dragon changes.

Since I've branched homestead, and this change has already been taken into the mainnet, this PR is on master.

@adamsmo
Copy link

adamsmo commented Apr 21, 2017

Will this change also affect ECDSARECOVER precompiled contract?

@pirapira
Copy link
Member Author

No, that did not happen.

@adamsmo
Copy link

adamsmo commented Apr 24, 2017

maybe it should be noted in the yellow paper because this PR changes definition of ECDSARECOVER which is also used (I mean the name) in precompiled contract section

@pirapira
Copy link
Member Author

I begin to see what you mean. Let me investigate.

@pirapira
Copy link
Member Author

I confirm that this PR changes the definition of ECDSARECOVER.

@pirapira
Copy link
Member Author

I can also confirm that in cpp-ethereum, the precompiled contract did not change. Thank you for pointing out.

@pirapira pirapira changed the title EIP155: replay protection [WIP] EIP155: replay protection Apr 24, 2017
@pirapira
Copy link
Member Author

This PR should normalize the value of v before passing it into ECDSARECOVER.

@pirapira
Copy link
Member Author

@adamsmo A similar specification error already happened back in the Homestead transition, so I'm trying to fix that #305. Feel free to comment.

@pirapira pirapira changed the title [WIP] EIP155: replay protection EIP155: replay protection Apr 25, 2017
@pirapira pirapira changed the title EIP155: replay protection Spurious Dragon: EIP155 replay protection Apr 28, 2017
@pirapira
Copy link
Member Author

This PR should target the spurious-dragon branch.

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.

None yet

2 participants