Closed ptisserand closed 1 month ago
I’ve read the bug report on Codehawks and understand the vulnerability. Please assign it to me when ODHack starts .
I am applying to this issue via OnlyDust platform.
GM, I am Sagar Rana, a smart contract developer and full stack engineer. I have 3 years of experience building robust full stack applications and over a year of writing smart contracts. You can see my projects and contributions to some major repos on my GitHub profile. The tech stack I use mainly includes Solidity, Rust, JavaScript and Typescript. I am also contributing to the Starknet and Rust ecosystems and building on Cairo and Rust languages. I am interested in contributing to projects like this to learn more about these technologies and help make these projects better. Please assign me as I would be really glad to be a contributor in this project! :)
Hi @ptisserand, I have gone through the codehawks article and this issue can be approached by:
(address[] memory newOwners, ) = Cairo.addressArrayDeserialize(buf, offset);
I am applying to this issue via OnlyDust platform.
i'm a solidity and cairo smart contract developer with over 2 years experience and believe i have the skill set for the task and i am also very good with smart contract testing
i would check both stucts snd correct the mismatches
The maintainer ptisserand has assigned SoarinSkySagar to this issue via OnlyDust Platform. Good luck!
Hi @ptisserand, I have completed all the required tasks and ensured good coding practices in the commit (PR #235), please review and merge!
From https://codehawks.cyfrin.io/c/2024-07-ark-project/s/62
There is currently a mismatch of types between the L1 and L2 implementations of the
Request
struct. This will cause the bridge to be unusable with thenew_owners/newOwners
feature and lead to loss of NFTs.This issue is to fix
new_owners/newOwners
feature for next version.Unit test must be provided.