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

Update isValidSignature replay protection #620

Merged
merged 4 commits into from
Feb 27, 2024

Conversation

nkrishang
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 64.55%. Comparing base (dbe8914) to head (b361cc1).

❗ Current head b361cc1 differs from pull request most recent head 82c8a28. Consider uploading reports for the commit 82c8a28 to get more accurate results

Files Patch % Lines
...racts/prebuilts/account/utils/AccountExtension.sol 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #620      +/-   ##
==========================================
- Coverage   64.73%   64.55%   -0.18%     
==========================================
  Files         216      216              
  Lines        6700     6703       +3     
==========================================
- Hits         4337     4327      -10     
- Misses       2363     2376      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nkrishang nkrishang changed the title Don't double hash in smart wallet isValidSignature replay protection Update isValidSignature replay protection Feb 25, 2024
@nkrishang nkrishang enabled auto-merge (squash) February 27, 2024 10:21
@nkrishang nkrishang merged commit 90ca7b4 into main Feb 27, 2024
7 checks passed
@nkrishang nkrishang deleted the nk/smart-account-eip1271-cleanup branch February 27, 2024 10:38
nezz0746 pushed a commit to nezz0746/contracts that referenced this pull request Mar 4, 2024
* Don't double hash in smart wallet isValidSignature replay protection

* Update _originalMessageHash -> _hash

* EIP712 typed data signature for isValidSignature
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.

1 participant