web3wagers / gostarkme

Fund raising project in Starknet ecosystem
http://web3wagers.github.io/gostarkme/
GNU Affero General Public License v3.0
18 stars 71 forks source link

[test] Add test for new method update_receive_donation #209

Closed EmmanuelAR closed 1 week ago

EmmanuelAR commented 2 weeks ago
Iwueseiter commented 2 weeks ago

Hi @EmmanuelAR can I work on this? I’m a frontend and smart contract developer. I write efficient Cairo code and test as well. I will look at the logic and implement the test as expected.

ETA: 24hrs

Benjtalkshow commented 2 weeks ago

I can work on this and deliver in the next 24hrs. I have written several test with cairo, rust and python.

NueloSE commented 2 weeks ago

Could I be assigned to this?

No-bodyq commented 2 weeks ago

Can I handle this task?

petersdt commented 2 weeks ago

I can work on this

my psuedo approach to solving the above issue as follow

The important aspects I will include in the test are:

The test cases i'll implement are:

casweeney commented 2 weeks ago

I am an experienced Cairo developer who has written and tested complex Cairo smart contracts.

I can handle this task.

ETA: 6 hours

anihdev commented 2 weeks ago

I’m interested in this one. im very advanced in cairo and can provide a very robust test suite for this

martinvibes commented 2 weeks ago

hey @EmmanuelAR i'm a blockchain dev and I'd like to take this issue. kindly assign :) i have worked on couple of testing issues that was merged too

mayasimi commented 2 weeks ago

I can handle this task kindly assign me ETA <=24hrs

wheval commented 2 weeks ago

Hello @emmanuelar ,

I'm wheval. A frontend dev and cairo developer. Can I handle this task? I would test all case scenarios for the update_recieve_donation method. I would also ensure that all tests passes and follow the current code structure.

Thank you. ETA is 1day.

vestor-dev commented 2 weeks ago

holla @EmmanuelAR mind if i take on this issue :) i would love to be a contributor on your project

Michaelkingsdev commented 2 weeks ago

@EmmanuelAR Please permit me to take care of this. 48hrs max

derianrddev commented 2 weeks ago

Hi, I'm Derian, I'm a software engineer focused on fullstack web development and I'm currently part of Dojo Coding. I have been studying Cairo through the Starknet Bootcamp, completed all the Starklings exercises, and have been practicing on Node Guardians. I would like to work on this issue and gain more experience.

I estimate this will take 1 day to complete.

This is how I would tackle this issue:

ShantelPeters commented 2 weeks ago

Hi @EmmanuelAR please can I be assigned to this issue This would be my first time contributing to this repo

Kaminar-i commented 2 weeks ago

I'd love to give this a go @EmmanuelAR mind if i take on this issue :)

Akshola00 commented 2 weeks ago

Can I work on this

sasasamaes commented 2 weeks ago

I'd like to handle this task.

  1. Understand the Purpose of update_receive_donation: Review the update_receive_donation method in fund.cairo to identify what it does. Common scenarios might include updating internal states, setting new values, or modifying parameters related to receiving donations.
  2. Set Up Initial Conditions: Initialize any required variables and contract instances for the test. If update_receive_donation relies on a specific initial state or parameters, set those before calling the method.
  3. Invoke update_receive_donation: Call the update_receive_donation method with the parameters it expects. These could be donation amounts, addresses, or other values, depending on the method’s requirements.
  4. Verify the Expected Results: After calling update_receive_donation, assert the expected changes in state. This may involve checking updated values, balances, or any flags set by the method. ETA: 1 Day
GradleD commented 2 weeks ago

Is it okay if I take this?

aguilar1x commented 2 weeks ago

I am a software developer. I am also a member of Dojo Coding, where I am expanding my experience in Cairo and Web3 technologies. I am excited to learn and be part of this project with my second contribution on onlydust. To approach this test, I would take the following steps:

  1. Project review: I will analyze the test in detail to understand its structure and functionality.

  2. Clone repository: The repository of the principal will be cloned in my main to be able to work it and complete the method update_receive_donation test

  3. Check the execution steps: The scenarios where they can be included will be evaluated, update internal states, establish new values or modify parameters related to the receipt of donations, so that it works in the best way. Just as they will be configured in such a way that everything has coherence and the code does not collapse, so the changes will be verified and variables, values, etc. will be added if necessary for the test to be in operation.

  4. Final review: A final review will be performed to ensure that the Test update_receive_donation is workable with respect to the mainteiner and issue indications. So if there is any doubt or change I am attentive to updates to the issue.

  5. Time: 1 day ETA