Open julienbrs opened 2 days ago
Mind if I try this one?
Can I work on this? ETA: 7 hours
I’d like to help with this.May I pick this up? I have three years experience in Software development and have contributed to some projects on OD here.
I'll write the proper tests and make sure the cover all edge cases and pass when run using cargo test
ETA: 10 hours.
Hello @julienbrs I'm a front-end and a blockchain developer I'd love to work on this.
Hi, I am a Cairo & Rust developer and a returning contributor. I would love to work on this.
Hi, I'm assigning it to @codebestia 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 isue
Let me try this one!
Can I start working on this?
Can I tackle this one?
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
Member of Dojo Coding. I have contributed before to other projects like:
kakarot-rpc
kakarot-ssj
ef-tests
Raito
Starknet-Phone
Madara
stark-cairo-nodes
Can I work on this issue?
Check my OnlyDust profile, I've contributed to many projects: Profile
m an experienced Rust developer with 4 year of experience, and recently have been doing a lot of rust open source contribution
https://github.com/paradigmxyz/reth/commits/main/?author=kien6034 https://github.com/foundry-rs/foundry/commits/master/?author=kien6034
How i plan?
This should take 3 days of working in my estimation.
Description
Improve the coverage and robustness of the Rust codebase by adding comprehensive unit tests. This issue combines testing for all core modules (
allocation.rs
,node.rs
,merkle_tree.rs
) and ensures functionality across edge cases.Acceptance Criteria
[ ] Add unit tests for
Allocation
:Allocation::to_felts()
for invalid addresses and timestamps.u64_to_felt()
(e.g.,0
,u64::MAX
).Hash
implementation forAllocation
.[ ] Add unit tests for
Node
:Node::new_leaf()
with allocations containing valid and invalid data.Node::new()
.[ ] Add unit tests for
MerkleTree
:build_address_calldata()
for allocations with invalid formats (e.g., non-hex addresses).merge_merkle_trees()
with empty trees and overlapping allocations.MerkleTree::new()
.Additional Context
cargo test
.[Medium Difficulty - Rust]