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

fix: clearer replay protection checks #1581

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

prestwich
Copy link
Member

@prestwich prestwich commented Oct 29, 2024

followup to #1578

Motivation

#1578 is poorly documented, doesn't specify what's protected in the API, and includes math that is already implemented elsewhere

Solution

Clean up

  • add documentation with relevant EIP link
  • make naming unambiguous ("protected from what?")
  • use functions math from the existing Parity object

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich changed the title fix: replay protection checks fix: clearer replay protection checks Oct 29, 2024
Copy link
Member

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

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

much better, ty

@yash-atreya yash-atreya merged commit 329c897 into main Oct 30, 2024
26 checks passed
@yash-atreya yash-atreya deleted the prestwich/fix-replay-protection branch October 30, 2024 13:18
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.

3 participants