Skip to content

Conversation

@ianpurifying
Copy link

Add Tests for Signature Validation and Gas Efficiency

I added the testFailMintWithInvalidSignature to check if minting with an invalid signature fails as expected.
Introduced testGasMinting to log gas usage during the minting process for efficiency tracking.
Aligned MintRequest structure in tests with existing contract setup.

Reason:
Strengthens security by ensuring only valid signatures can mint tokens.
Provides insights into gas costs for minting operations.

Impact:
No breaking changes; purely additive tests for better coverage.

@ianpurifying ianpurifying closed this by deleting the head repository Jun 30, 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.

1 participant