Skip to content

Conversation

@panditdhamdhere
Copy link
Collaborator

  • Create MockERC20Facet for proper test initialization
  • Test success paths: valid signatures, nonce increments, sequential permits
  • Test failure paths: expired deadlines, reused signatures, wrong signer
  • Test edge cases: zero value approvals, max uint256 values

Resolves #59

- Create MockERC20Facet for proper test initialization
- Test success paths: valid signatures, nonce increments, sequential permits
- Test failure paths: expired deadlines, reused signatures, wrong signer
- Test edge cases: zero value approvals, max uint256 values

Resolves Perfect-Abstractions#59
@mudgen
Copy link
Contributor

mudgen commented Oct 26, 2025

@panditdhamdhere Do we still need this PR? Or can we close it now that we have PR #78 ?

@mudgen mudgen closed this Oct 26, 2025
@mudgen mudgen reopened this Oct 26, 2025
@panditdhamdhere
Copy link
Collaborator Author

Yes thank you @mudgen !

@mudgen mudgen closed this Oct 26, 2025
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.

Add comprehensive tests for ERC-20 Permit extension (EIP-2612)

2 participants