-
Notifications
You must be signed in to change notification settings - Fork 121
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] ] Collective: Add tests for DelegateNotFound
#285
Comments
Fixes dhiway#285 We're creating a new test function check_delegate_not_found. We use the ExtBuilder::default().build_and_execute() function to set up the test environment. We create a proposal with some arbitrary value . Attempt to propose using a non-existent delegate .
@vatsa287 Please assign this issue to me |
Hello @trishanu-init |
I am sorry sir, i am unable to work on this issue right now due to ongoing exams.....please assign this to someone else |
Hi @vatsa287 , |
Hello @vatsa287, I would like to contribute in this particular issue. |
Description
Subtask under : cord-network/community#7
New testcase can be tested under
cargo test -p pallet-collective
after adding it in the code.Goals
DelegateNotFound
for pallet/collectiveExpected Outcome
DelegateNotFound
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:
motions_ignoring_non_collective_proposals_works
which validates error codeNotMember
Mockups / Wireframes
NA
Product Name
CORD
Organization Name
Dhiway
Domain
Blockchain
Tech Skills Needed
Rust
Mentor(s)
@amarts
Complexity
[Low]
Category
[Test]
Sub Category
[Beginner friendly]
The text was updated successfully, but these errors were encountered: