Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODHack: Fix and Complete Airdrop Tests #94

Open
tensojka opened this issue May 28, 2024 · 16 comments
Open

ODHack: Fix and Complete Airdrop Tests #94

tensojka opened this issue May 28, 2024 · 16 comments

Comments

@tensojka
Copy link
Contributor

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

  • All tests in airdrop_tests.cairo are uncommented, functional, and pass.
  • Tests cover all specified cases in the README.
  • Test data generated using carmine-api-airdrop is correctly integrated into the tests.
  • scarb fmt

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
Copy link
Contributor Author

Assigned to Nico Sanch, can you confirm?

@nicosanc
Copy link

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

@nicosanc nicosanc removed their assignment Jun 6, 2024
@TropicalDog17
Copy link

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
Copy link
Contributor Author

@TropicalDog17 Yes, good luck!

@tensojka
Copy link
Contributor Author

tensojka commented Aug 5, 2024

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

@TropicalDog17
Copy link

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

@TropicalDog17 TropicalDog17 removed their assignment Aug 22, 2024
@zintarh
Copy link
Contributor

zintarh commented Aug 22, 2024

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

Copy link

onlydustapp bot commented Aug 22, 2024

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

@BenFaruna
Copy link

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

Copy link

onlydustapp bot commented Sep 5, 2024

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

@tensojka
Copy link
Contributor Author

tensojka commented Sep 5, 2024

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
Copy link

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
Copy link
Contributor Author

tensojka commented Sep 5, 2024

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
Copy link

raizo07 commented Sep 5, 2024

@tensojka can I work on this?

Copy link

onlydustapp bot commented Sep 5, 2024

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

@BenFaruna
Copy link

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

carbonable-labs/baseline-contracts#3

That's my PR that got merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants