Open tensojka opened 1 month ago
Assigned to Nico Sanch, can you confirm?
Yes, I'd like to take on this assignment. Thank you for the opportunity!
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
@TropicalDog17 Yes, good luck!
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 thedefispring
repository, which contains a similar, tested contract developed based on the current airdrop contract.Tasks
Uncomment and Fix Tests in
airdrop_tests.cairo
Reference
defispring
Repository:defispring
repository as a reference to understand the testing approach.airdrop_tests.cairo
exceed the robustness and coverage of those indefispring
.Generate Test Data Using
carmine-api-airdrop
:carmine-api-airdrop
to create the Merkle tree and generate proofs.airdrop_tests.cairo
.Resources
Acceptance Criteria
airdrop_tests.cairo
are uncommented, functional, and pass.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.