StrapexLabs / strapex

https://strapex.org
Apache License 2.0
2 stars 5 forks source link

feat: unit tests for Deposit and withdrawal functionalities. #5

Open machuwey opened 2 weeks ago

machuwey commented 2 weeks ago

Write a complete and an extensive set of unit-tests for the strapex contracts. Scope of the tests: Deposit and withdrawal functionalities.

[!NOTE]
As this contract will hold users funds it is highly important that the test cover all possible edge cases and scenarios.

Some of examples of cairo unit tests implemented in other repos:

Some interesting resources to learn about cairo testing: - Testing Cairo Programs

Instructions to apply

  1. Introduce yourself, tell about your background, etc.
  2. Describe shortly how you plan to tackle the issue
jsandinoDev commented 2 weeks ago

Hi @machuwey is this issue open to collaborators?

martinvibes commented 6 days ago

holla @machuwey would like to workon this one

NueloSE commented 2 days ago

@machuwey I would like to work on this task kindly assign. I have experience in writing smart contract and writing test for these contracts

NueloSE commented 1 day ago

I'd like to handle this task.

Akshola00 commented 1 day ago

hi mi shola a smat contract dev, completed starklings and a starnet base camp, can I work on this issue I would efficiently write test the function testing all state changing events and emitted events in the function please assignthis to me

ShantelPeters commented 1 day ago

Could I take over this issue?

To test the Strapex contracts' deposit and withdrawal functionalities, I will implement unit tests in Cairo covering happy paths, edge cases, error handling, boundary conditions, reentrancy, and functional interactions, thereby utilizing Cairo's testing library and referencing resources like ZkRamp and Testing Cairo Programs.

manlikeHB commented 1 day ago

Hi, I am a Cairo developer with great experience contributing to lots of other projects. I would love to work on this.

I'll ensure all edge cases are covered and the test are passing

jsandinoDev commented 1 day ago

Hi I'm a full-stack developer from Costa Rica and member of Dojo coding. I've worked on projects using React, Solidity, Cairo, and blockchain tools. My skills in both front-end and back-end development allow me to build scalable and secure solutions for web3 ecosystems.

For this issue I will undertand the current strapex contracts then see the examples of ZkRamp and create the full unit test set

mexes20 commented 1 day ago

May I pick this up? I have three years experience in Software development and have contributed to some projects on OD here.

ETA: 10 hours.

SoarinSkySagar commented 1 day ago

May I work on this issue @machuwey ?

My background: I am a web3 developer with 2 years of experience and a regular contributor at https://github.com/keep-starknet-strange. I have been solving issues related to cairo for the past 2 months and I'm pretty confident that I can resolve this issue too.

My approach: I will go through the issues of ZkRamp and introduce unit tests to cover most of the edge cases

eta: 4 days

Iwueseiter commented 1 day ago

Could I try solving this? I'm a frontend/smart contract developer and a technical writer. Here are links to comprehensive docs I've written and have been merged Flex-NFT-Marketplace/Flex-Marketplace-Contract#107, https://github.com/cairo-book/cairo-book/pull/1019, https://github.com/horuslabsio/tokenbound-contract-docs/pull/12, https://github.com/sivicstudio/starkludo/pull/102, https://hackmd.io/@-__sK8xkRjuXHkFZQLyYXg/HkLcMImM1l.

ryzen-xp commented 1 day ago

Hi, I am proficient Blockchain developer expert in Cairo , Rust and Solidity. and also in web development. I will write comprehensive unit tests for the Strapex contracts, covering edge cases and all possible scenarios, using Cairo testing frameworks and ensuring security by simulating various user interactions and failure conditions. please /assign me this issue

Benjtalkshow commented 1 day ago

May I take care of this?

martinvibes commented 1 day ago

Can I take care of this issue? i'm a frontend dev and a blockchain dev kindly assign :)

coxmars commented 1 day ago

Hi @machuwey, I'm a software developer with 2+ years of experience, working with backend technologies like Cairo and frontend with React/NextJS. I’m also a member of the Dojo Coding community and have contributed to Cairo VM Go, Cairo Lints, and more. Currently, I’m developing on-chain games at ByteBuildersLabs using the Dojo framework.

This is my approach:

ET: I will send a PR in 3 days approx or soon.

machuwey commented 1 day ago

@SoarinSkySagar Please write me a Dm in telegram if you can to confirm the assigment, you can find my contact at t.me/strapexlabs

Michaelkingsdev commented 1 day ago

May I try my hand at this?

SoarinSkySagar commented 1 day ago

@SoarinSkySagar Please write me a Dm in telegram if you can to confirm the assigment, you can find my contact at t.me/strapexlabs

sure ser

Kaminar-i commented 1 day ago

Can I take on this