Closed adrianvrj closed 1 month ago
Hello I'm a front-end and a blockchain developer and will love to work on this. this is something I can handle
I am applying to this issue via OnlyDust platform.
Hello, I'm Derian, a software engineer focused on full-stack web development, and I’m currently part of Dojo Coding. I've been studying Cairo through the Starknet Bootcamp, completed all the Starklings exercises, and have been practicing on Node Guardians. I’d like to work on issue #141 and gain more experience. It would be an honor if this were my first issue on OnlyDust. I would really appreciate the opportunity to contribute and be part of this project!
I estimate this will take 2 to 3 days to complete.
I will study the codebase to understand the current structure and functionality. I will thoroughly read the issue description to understand the problem that needs to be solved. I will leverage all provided resources within the issue to get a better grasp of the task. I will implement the code changes and run the tests in Cairo. If I have any doubts, I will ask questions as soon as possible in the Discord group. I will open a PR and make sure the CI tests pass. I will make the necessary changes based on the PR review.
I am applying to this issue via OnlyDust platform.
I'm a frontend and smart contract developer and I'd be happy to contribute to this project as this will be my first time contributing to this project.
Here is my approach to tackle this issue:
At the end of my implementation,
I am applying to this issue via OnlyDust platform.
I am a blockchain developer with vast knowledge in languages as cairo, typescript, javascript, Html, Css , solidity, React etc. My background in smart contract development will help ensure this implementation is efficient and effective.
To tackle the issue of creating a new file for fundManagerConstants
, I would start by creating a new Cairo file specifically for the constants. Within this file, I would define a constant for the fund manager's address, assigning it a dummy value for initial implementation. Next, I would modify the setGoal
method to include an assertion that checks if the caller's address matches the newly defined constant, ensuring that only the fund manager can modify the goal. After implementing these changes, I would update or create unit tests to validate that the assertion works as intended and that the functionality is robust. Finally, I would run the tests to ensure all pass successfully, confirming the integrity of the modifications.
I am applying to this issue via OnlyDust platform.
I have contributed to several Cairo projects on OnlyDust and I've worked on similar issues in the past.
I will carefully add the requested feature and make sure the tests are passing.
I am applying to this issue via OnlyDust platform.
I bring 2 years of hands-on experience in writing and optimizing tests for Solidity smart contracts, which has given me strong foundation in blockchain testing patterns. Recently, I've expanded my expertise into Cairo development, actively writing contracts and their corresponding tests. My combination of established testing experience in Solidity and fresh perspective in Cairo, along with deep theoretical knowledge, positions me well to tackle this testing challenge effectively.
Create fundManagerConstants file
: Add a new constant with the fund manager's address (e.g., a dummy address).
Update setGoal
method: In setGoal
, assert that the caller is the fund manager by comparing get_caller_address()
with the new constant.
Add tests: Write a test to check that only the fund manager can call setGoal
by asserting it works for the manager and fails for others.
I am applying to this issue via OnlyDust platform.
I am a typescript dev. A new-comer here, willing and ready to contribute to contribute to solve the issue
I am applying to this issue via OnlyDust platform.
GM @adrianvrj, 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, Cairo 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! :)
fundManagerConstants.cairo
and following the other constant files, will create a new value with a dummy address as the value (eg. 0xffffffff...
)setGoal
, inserting a new assert_eq!
statement so that the caller
address is equal to the FundManager::FUND_MANAGER
address.setGoal
function with more testcases and ensure all tests are passing before creating the PR.
This issue will be part of ODHack9.0, please apply via Onlydust app
fundManagerConstants
.setGoal
method only will be modified by the fund manager, assert the caller vs the new constant.Acceptance Criteria
fundManagerConstants
is created.setGoal
method.