-
Notifications
You must be signed in to change notification settings - Fork 29
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
Refactor Duplicated Code from Pontos and Sana #463
Comments
Hi @ybensacq please i will like to work on this issue? |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedi'm a solidity and cairo smart contract developer with over 2 years experience and believe i have the skill set for the task |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have experience in Rust, especially in refactoring task. How I plan on tackling this issueI will refactor and also try to improve code coverage for these refactored paths to ensure the code still work well after refactoring. I will also keep communicating with the maintainer to ensure the refactoring is heading the right direction. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a Software Engineer with experience in writing Rust, Typescript and Cairo. I participated in the last ODHack (ODHack 7.0) and I was assign a task to refactor the deployment script written in typescript of a project written in cairo, which I completed and was merged. How I plan on tackling this issueI will first of go through the code based to understand the structure, next I will start looking at each of the files one after the other, taking note of each of the functions and their use-case. Will afterwards start by removing redundant code, if there are any, then move forward to unify and merge the functions with the same functionality, finally will do a thorough testing to be sure that my changes is not breaking anything. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a skilled fullstack developer with a wealth of experience in both frontend and backend JavaScript as well as my knowledge of Rustlang, With a solid foundation in testing,I have mastered frameworks like Mocha, Chai, and Jest to ensure robust, reliable code in every project. In addition to traditional web development, I have a strong background in blockchain technology, with hands-on experience in Solidity for Ethereum-based smart contracts. Moreover, I have delved into the emerging world of StarkNet, working with Cairo, a cutting-edge language tailored for STARKs, making them a versatile developer capable of bridging both traditional and decentralized web applications. How I plan on tackling this issue
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have experience in Rust and refactoring code for improved maintainability. I’ve worked on similar projects, reducing code duplication and improving readability without compromising functionality. How I plan on tackling this issueI’d start by identifying and comparing the duplicated code between Pontos and Sana. I’d refactor shared logic into reusable components or modules, ensuring the refactor improves maintainability and reduces redundancy while maintaining code clarity. |
thanks @ybensacq for assigning me the issue, I will start working asap |
@ybensacq I am not going to continue with this issue because I am having a lot of problems getting the local environment up and I need to move forward with other issues of this odhack, my apologies for the case |
Hi @ybensacq , can I get this done please since no one is assigned? I’m ready to work please. |
gm @ybensacq, I would like to work on this. I am providing my background, approach and ETA. kindly assign this issue to me so I can start working on it. My background:I'm a full stack engineer and smart contracts developer with extensive experience in typescript, rust and cairo. My approach:I will create a new crate for common code which can be shared by pontos and sana. Then, I will start analyzing the two crates to identify the common code, which I will then refactor into the shared crate, and use it in pontos and sana crates by importing them. ETA: 3 days |
In this repository, we duplicated parts of the Pontos project to build Sana.
As a result, there are many instances of duplicated code that could potentially be refactored to improve maintainability, readability, and reduce redundancy.
It would be great if we could refactor these duplicated areas to streamline the codebase.
If anyone is interested in helping with this refactoring, contributions are welcome!
Feel free to share your thoughts and suggestions on how to best approach this.
The text was updated successfully, but these errors were encountered: