web3wagers / gostarkme

Funds recollection project in Starknet ecosystem
http://web3wagers.github.io/gostarkme/
GNU Affero General Public License v3.0
15 stars 54 forks source link

[test] Add test for new method update_receive_donation #209

Open EmmanuelAR opened 3 hours ago

EmmanuelAR commented 3 hours ago
Iwueseiter commented 3 hours 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 3 hours ago

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

NueloSE commented 3 hours ago

Could I be assigned to this?

No-bodyq commented 3 hours ago

Can I handle this task?

petersdt commented 3 hours 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 3 hours 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 3 hours ago

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

martinvibes commented 3 hours 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 3 hours ago

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

wheval commented 3 hours 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.

dev-chinx commented 3 hours ago

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

Michaelkingsdev commented 3 hours ago

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

derianrddev commented 3 hours 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 3 hours ago

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

Kaminar-i commented 3 hours ago

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

Akshola00 commented 2 hours ago

Can I work on this

sasasamaes commented 1 hour 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