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

Add tests for InvalidSignature #418

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Durgesh4993
Copy link

Issue No #370

  • Adding tests for InvalidSignature enhances code robustness by ensuring proper handling of unauthorized actions, boosting security and correctness. It verifies the system's resilience against unauthorized access attempts, reinforcing quality and compliance with security standards.

  • These tests ensure that asset creation, issuance, transfer, and status changes function correctly within the specified authorization framework. By verifying these operations, the code ensures the integrity and security of asset management processes on the blockchain, promoting trust and reliability in decentralized applications.

digest,
invalid_authorization_id
),
Error::<Test>::InvalidSignature
Copy link
Member

Choose a reason for hiding this comment

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

@amarts Currently InvalidSignature is not being used/checked in Asset pallet, but it is part of error enum list. Should we either implement it in asset(which I feel is not required) or remove it from error enum list.

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