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

Grarco/replay protection delay write REVIEW ONLY #2108

Conversation

cwgoes
Copy link
Contributor

@cwgoes cwgoes commented Nov 7, 2023

REVIEW ONLY

Copy link
Contributor Author

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

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

Only a minor comment, but @tzemanovic should also review this.

protocol::Error::ReplayAttempt(_),
) = msg
{
// Remove the wrapper hash but keep the inner tx
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can we further explicate this comment to explain why this is safe? (as I understand it, because the inner transaction hash will still be in storage, and block any future replay)

@cwgoes cwgoes mentioned this pull request Nov 7, 2023
2 tasks
@grarco grarco force-pushed the grarco/replay-protection-delay-write branch 2 times, most recently from 8cbba5c to b9e4b7a Compare November 7, 2023 15:10
@grarco grarco force-pushed the grarco/replay-protection-improvements branch 2 times, most recently from 1e91762 to 12aeb34 Compare November 7, 2023 15:35
@grarco grarco force-pushed the grarco/replay-protection-delay-write branch from b9e4b7a to c0e14eb Compare November 7, 2023 15:38
@grarco grarco force-pushed the grarco/replay-protection-improvements branch from 12aeb34 to 1878a4c Compare November 7, 2023 16:45
@grarco grarco force-pushed the grarco/replay-protection-delay-write branch from c0e14eb to 6c1d784 Compare November 7, 2023 16:47
@cwgoes cwgoes closed this Nov 11, 2023
@grarco grarco deleted the grarco/replay-protection-delay-write branch November 11, 2023 20:05
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