CarmineOptions / konoha

A toolkit for DAO-like governance on Starknet
Apache License 2.0
30 stars 41 forks source link

ODHack: Fix and Complete Airdrop Tests #94

Open tensojka opened 5 months ago

tensojka commented 5 months ago

Description

The current airdrop_tests.cairo file contains quasi-broken tests, with many tests commented out. The goal is to make these tests functional. Reference the defispring repository, which contains a similar, tested contract developed based on the current airdrop contract.

Tasks

  1. Uncomment and Fix Tests in airdrop_tests.cairo

  2. Reference defispring Repository:

    • Use the defispring repository as a reference to understand the testing approach.
    • Ensure the tests in airdrop_tests.cairo exceed the robustness and coverage of those in defispring.
  3. Generate Test Data Using carmine-api-airdrop:

    • Utilize the carmine-api-airdrop to create the Merkle tree and generate proofs.
    • Use this test data in the airdrop_tests.cairo.

Resources

Acceptance Criteria

Please make sure to keep the testing structure consistent and ensure the tests are comprehensive and robust. Use functions from setup.cairo and do not duplicate them, extend if needed.

tensojka commented 5 months ago

Assigned to Nico Sanch, can you confirm?

nicosanc commented 5 months ago

Yes, I'd like to take on this assignment. Thank you for the opportunity!

TropicalDog17 commented 5 months ago

Hi, could I work on this issue?

I'm relatively new to Cairo, and I believe the best way to start learning a new codebase is from writing and fixing tests

tensojka commented 5 months ago

@TropicalDog17 Yes, good luck!

tensojka commented 3 months ago

@TropicalDog17 no update? Will unassign you unless no draft PR by Wednesday 7th August

TropicalDog17 commented 3 months ago

Yeah sorry I don't have the time to finish the task, feel free to assign someone else to do it, thanks!

zintarh commented 3 months ago

@tensojka i would love to work on this. If it’s still open

onlydustapp[bot] commented 3 months ago

Hey @kateberryd! Thanks for showing interest. We've created an application for you to contribute to Konoha. Go check it out on OnlyDust!

BenFaruna commented 2 months ago

Hello @tensojka if this issue is still open I would like to work on it.

onlydustapp[bot] commented 2 months ago

Hey @BenFaruna! Thanks for showing interest. We've created an application for you to contribute to Konoha. Go check it out on OnlyDust!

tensojka commented 2 months ago

Please fill out the application @BenFaruna .

@kateberryd I would prefer to have you available for other frontend tasks as you have experience with that.

BenFaruna commented 2 months ago

Please fill out the application @BenFaruna .

I'm unable to apply from OnlyDust, the issue does not come up for projects except it's time for OD hack and the project is registered for that hack season.

tensojka commented 2 months ago

I see your aplication @BenFaruna but it doesn't show any previous OnlyDust experience. Our capacity to onboard new contributors is full at the moment, sorry.

raizo07 commented 2 months ago

@tensojka can I work on this?

onlydustapp[bot] commented 2 months ago

Hey @raizo07! Thanks for showing interest. We've created an application for you to contribute to Konoha. Go check it out on OnlyDust!

BenFaruna commented 2 months ago

@tensojka I contributed to a project earlier, but the project wasn't registered on Only dust so it doesn't show on the dashboard.

https://github.com/carbonable-labs/baseline-contracts/pull/3

That's my PR that got merged