Open julienbrs opened 2 days ago
Can I take care of this issue? i'm a frontend dev and a blockchain dev kindly assign :)
I'm a member of Dojo Coding and have previously contributed to other projects like:
kakarot-rpc
ef-tests
kakarot-ssj
Raito
Starknet-Phone
I'd like to work on this issue.
Check my OnlyDust profile for my contributions: Profile
Understand the Codebase:
allocation.rs
, node.rs
, and merkle_tree.rs
to grasp their functionalities and interactions.Set Up Test Environment:
mock_allocations_first_wave.json
and mock_allocations_second_wave.json
.Write Integration Tests for Merkle Tree Creation:
Verify Proofs from build_address_calldata()
:
Simulate Merging Two Trees:
Run and Validate Tests:
Commit Changes with a clear message
Open a Pull Request and await feedback.
Is it okay if I take this?
Hi, I'm assigning it to @martinvibes as he was the first one to ask, please tag me if needed. Please join TG to discuss about it if needed: https://t.me/carbonableOD Issue might be reassigned during ODHack if the contributor drops the issue.
May I pick this up?
May I try my hand at this?
Can I work on this, please?
Can I take care of this issue? i'm a frontend dev and a blockchain dev kindly assign :)
I'd like to handle this task.
Can I take this issue?
Hi, I am proficient Blockchain developer expert in Cairo , Rust and Solidity and also in web development. I have contributed many Rust ,Cairo projects like chainevents , arkprojects , starknet etc . please /assign this issue . Thank You
Could I grab this task? How I hope to tackle this
Write integration tests combining allocation.rs, node.rs, and merkle_tree.rs.
Use mock JSON files for realistic Merkle tree creation; compare root hashes to expected values.
Validate proofs from build_address_calldata() for both valid and invalid cases.
Simulate merging two trees; ensure correct root hash and allocation consistency.
Mimic end-to-end flows to catch integration issues.
ETA: 48 hrs
Description
Develop integration tests to validate the interoperability between
allocation.rs
,node.rs
, andmerkle_tree.rs
under realistic scenarios. The goal is to simulate and test real-world use cases, such as creating a Merkle tree and verifying proofs.Acceptance Criteria
mock_allocations_first_wave.json
andmock_allocations_second_wave.json
.build_address_calldata()
:Additional Context
[Medium Difficulty - Rust]