-
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] Chain-Space: Add tests for TypeCapacityOverflow
#284
Comments
heyy @vatsa287 This is Chandramani and I am intrested to take this issue as I am learning Rust and have already contributed in Code4Good 2023 program. |
Hey @vatsa287 ! |
FIXES dhiway#284 We're creating a new test function create_space_should_fail_type_capacity_overflow. We set up the necessary variables such as creator, author, capacity, etc. We first create spaces up to the specified capacity.
The issue is still open i am making a pull request. |
Hello @chandra-pro |
@vatsa287 should i work on this issue? |
Signed-off-by: Vaibhav <[email protected]>
Description
Subtask under : cord-network/community#7
New testcase can be tested under
cargo test -p pallet-chain-space
after adding it in the code.Goals
TypeCapacityOverflow
for pallet/chain-spaceExpected Outcome
TypeCapacityOverflow
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:
creating_a_duplicate_space_should_fail
which validates error codeSpaceAlreadyAnchored
Mockups / Wireframes
NA
Product Name
CORD
Organization Name
Dhiway
Domain
Blockchain
Tech Skills Needed
Rust
Mentor(s)
@amarts
Complexity
[Medium]
Category
[Test]
Sub Category
[Beginner friendly]
The text was updated successfully, but these errors were encountered: