-
Notifications
You must be signed in to change notification settings - Fork 122
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
[C4GT] Asset: Add tests for InvalidSignature
#370
Comments
FIXES dhiway#370 We're creating a new test function asset_create_should_fail_invalid_signature. We're setting up the necessary variables such as creator, author, capacity, etc. We generate an invalid_signature that will intentionally trigger the InvalidSignature error.
I have made a pull request Please merge it |
@Aloneking789 Welcome! I see multiple PRs being raised without being an assignee. |
@vatsa287 Please assign this issue to me. |
Hello @trishanu-init |
Hello @vatsa287 @VedantKhairnar i see that this issue has no activity for quite a while. If it's alright, i would like to work on this issue. in that case please assign me this issue. |
@vatsa287, I have solved this issue and raised a PR. Thank you. |
Hi @vatsa287, this issue is currently active. If it is open, please assign me to this issue. |
Description
Subtask under : cord-network/community#7
New testcase can be tested under
cargo test -p pallet-asset
after adding it in the code.Goals
InvalidSignature
for pallet/assetExpected Outcome
InvalidSignature
being returned properly in all the possible calls.Acceptance Criteria
NA
Implementation Details
Look at other test cases, and add a test case for the same.
Ex: check method
asset_create_should_succeed
which validates creation of asset.Mockups / Wireframes
NA
Product Name
CORD
Organization Name
Dhiway
Domain
Blockchain
Tech Skills Needed
Rust
Mentor(s)
@amarts @vatsa287
Complexity
[Low]
Category
[Test]
Sub Category
[Beginner friendly]
The text was updated successfully, but these errors were encountered: