cord icon indicating copy to clipboard operation
cord copied to clipboard

[C4GT] Chain-Space: Add tests for `TypeCapacityOverflow`

Open vatsa287 opened this issue 1 year ago • 5 comments

Description

Subtask under : https://github.com/cord-network/community/issues/7

New testcase can be tested under cargo test -p pallet-chain-space after adding it in the code.

Goals

  • [ ] Add tests for TypeCapacityOverflow for pallet/chain-space

Expected Outcome

  • [ ] Test should assert for TypeCapacityOverflow being returned properly in all the possible calls.
  • [ ] If there are more than one function returning this error code, all of them should be validated either as one test case or as multiple test cases.

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 code SpaceAlreadyAnchored

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]

vatsa287 avatar Feb 05 '24 11:02 vatsa287

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. Could you please help me understanidng this project

chandra-pro avatar Mar 16 '24 07:03 chandra-pro

@vatsa287 , @amarts can you please give me a brief about this project and what actually I have to do..

chandra-pro avatar Mar 16 '24 20:03 chandra-pro

Hey @vatsa287 ! I am interested in contributing to this project and reviewed the prerequisites and code. Can you please assign this issue to me ?

Sohajawdekar avatar Mar 20 '24 20:03 Sohajawdekar

The issue is still open i am making a pull request.

Aloneking789 avatar Mar 25 '24 09:03 Aloneking789

Hello @chandra-pro Are you working on the issue? Do you need any help? Pease let us know. Thanks.

VedantKhairnar avatar Aug 19 '24 09:08 VedantKhairnar

@vatsa287 should i work on this issue?

Vaibhavsahu2810 avatar Dec 21 '24 21:12 Vaibhavsahu2810

@vatsa287 Is this issue is solved through this PR #550 ? If not, could you please assign this issue to me? I would be very grateful and will do my best to solve it effectively.

Mandalorian7773 avatar Apr 11 '25 06:04 Mandalorian7773

Can I be assigned this issue I am highly motivated to work on this one

NishantSinghhhhh avatar Apr 12 '25 21:04 NishantSinghhhhh

We are moving away from the 'chain-space' logic.

Hence, closing this issue.

Refer to https://github.com/dhiway/cord/blob/develop/docs/cord-features.md to get more idea about what features you can contribute on.

amarts avatar Apr 21 '25 01:04 amarts