-
Notifications
You must be signed in to change notification settings - Fork 47
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
[test] Test event emit when deploying a fund contract #147
Comments
I am applying to this issue via OnlyDust platform. My background and how it can be leveraged@adrianvrj I am a smart contract developer and I have read the description and contribution guide and would love to work on this issue How I plan on tackling this issueI would make sure the Acceptance Criteria are met. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello @adrianvrj I'm a frontend and a blockchain developer. I will love to work on this issue How I plan on tackling this issueHere is how I would approach this testing task:
To run and debug the test,
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm a Full Stack Developer with two years of experience. I'm also a member of Dojo Coding, where I'm expanding my expertise in Cairo and Web3 technologies. I'm enthusiastic about learning, and becoming a part of this project. How I plan on tackling this issueTo solve this, I will:
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello! My name is Lukman, and I am a passionate Smart Contract Developer with two years of experience in writing smart contracts. My hands-on experience spans various blockchain platforms, including Ethereum and Starknet. I’m eager to leverage my skills in developing efficient, secure, and innovative solutions in the blockchain space. How I plan on tackling this issueTo tackle this issue, I will start by reviewing the relevant code and the specific event that needs testing, as outlined in #136. I will then implement a unit test that verifies the event is emitted with all expected values, ensuring that it adheres to the specified acceptance criteria, and finally, I will run the tests to confirm that they pass successfully. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedhello @ i'm an experienced frontend developer and a blockchain developer i would love to work on this issue How I plan on tackling this issuei would make sure it is working |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHi I am Asher and I will be working on issue #147 How I plan on tackling this issueI will go through the code to get accustomed with its functionality then write tests to assert that the correct event, as well as its expected values are properly emitted using the assert_emitted method |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm a full-stack developer with web3 experience, specializing in smart contracts and decentralized applications. I've worked on projects using React, Solidity, Cairo, and blockchain tools. My skills in both front-end and back-end development allow me to build scalable and secure solutions for web3 ecosystems. How I plan on tackling this issueo approach testing event emission during the deployment of a fund contract, follow these steps:
Deploy the Contract: You simulate the contract deployment process in your test environment. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have been a developer for over 4 years and have been contributing to the Starknet ecosystem for more than a year. My recent contributions include work on cairo-lint and scaffold-starknet. I’m eager to participate in this project as I see a lot of potential in it and believe it adds valuable functionality to the Starknet ecosystem. Also I'm part of dojo-coding comunity! How I plan on tackling this issueI already commented to make the issue in which the event must be emitted, I would also like to make this issue since they are related, the ideal would be for the same person to do it so as not to have conflicts and not affect the development of the project. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHi, please can I be assigned this please? This would be my first time contributing to this project and I would love to be the given the opportunity to contribute. I have experience in html, css, JavaScript,TypeScript and solidity, and Cairo. How I plan on tackling this issueTo successfully run tests, I’ll take the following steps:
Please assign me, I’m ready to work. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a blockchain developer with vast knowledge in languages as cairo, typescript, javascript, Html, Css , solidity, React etc..I would utilize my experience in smart contract testing to ensure that the tests are comprehensive and pass successfully, confirming the correct behavior of the event emission functionality. How I plan on tackling this issueTo address the issue of testing the event emission, I would first review issue #136 for context and understand the specifics of the event and its expected values. I would then create a unit test that verifies whether the event is emitted correctly in the relevant function. This test will check that all expected values (e.g., donor address, donation amount, current balance, fund contract address) are present and accurate in the emitted event. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have contributed to several Cairo projects on OnlyDust and I've worked on very similar issues in the past such as ArkProjectNFTs/bridge#236 How I plan on tackling this issueI will carefully craft a test to make sure the event is emitted using Starknet Foundry and assert_emitted. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI 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. How I plan on tackling this issueSetup: Add event structure to Fund contract and modify constructor to emit event upon deployment Test Creation: Write a focused test function that deploys the contract and captures the deployment event Validation: Assert that the emitted event contains correct fund details (id, owner, name, goal) matching the constructor parameters |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm Emmanuel Tochukwu, smart contract developer. I recently graduated from starknet developer bootcamp which lasted for 8 weeks. During the bootcamp, I have written a lot of contract. An also testing whether contract behaves as expected is one the things I did. How I plan on tackling this issueFirst, I would look at the event struct to note the variables to be emitted, and also check whether the annotations and required importations are made. secondly, I would write a unit test for every function that emits an event using a spy_event() cheatcode which will allow me to be able to assert whether the right is emitted. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a python 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. My background and how it can be leveragedHello guys, I have been working for the past 4 years as a developer with multiple languages such as ts, and for the past 3 months learning and working with cairo on my own projects. How I plan on tackling this issueI would look the method that needs to emit an event, follow the contributor guidelines, do the feature and test all it´s cases. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a backend engineer with half a decade years of experience in creating and developing applications and smart contract that solves real life problems How I plan on tackling this issueI will first of all go through the code to get an understanding of what the code those, then use test driven development method to write tests cases that solves ensure the events arie being emitted correctly. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello! I’m Daniel Calderón. In the last ODHack, I contributed to your project. I have over 3 years of experience as a software engineer and 6 months of experience working with Cairo for smart contract development. How I plan on tackling this issueIn the last ODHack I contributed by adding unit tests to your project, I have experience and an understanding of your codebase,and to solve the issue I will use spy_events cheatcode from snfoundry to check the emitted event and assert if it is the correct |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHi, I'm Alvaro Lazarus a blockchain developer and a new member of Dojo Coding, I've worked with testing Cairo contracts in the past which makes me confident I can complete this issue. Also it seem like a fun first contribution to the GoStarkMe project. How I plan on tackling this issue
Thank you for your consideration ETA: 48 hrs |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedAm a smart contract developer (solidity & starknet cairo). Am a graduate of starknet-cairo developer bootcamp. Am also a smart contract auditor and technical writer. As a smart contract auditor, testing is what i know in-depth and understand. I have audited lots of code bases. I understand how important thorough testing are in the web3 space. How I plan on tackling this issueI would follow the guideline in the repo for fork, clone & pull request. I would clone the project on my local machine. I would study the code base (deploying a fund contract events). Reading the code base will make me understand what events are expected to be emitted. Then i write test to make sure that what the deploying a fund contract events are expected to emit are correctly emitted. |
Hi, I'm Gideon Bature, a Software Engineer and I'll be working on issue #147. I estimate this will take 2 days to complete. This is how I would tackle this issue:
|
I’d like to work on this. |
Can I work on this, please? |
My background and how it can be leveraged: I'm currently a Computer Science student with a strong foundation in software development and a growing passion for blockchain technology. While this will be my first project in web3, I’m eager to apply my problem-solving skills and quickly learn the required tools. How I plan on tackling this issue:
|
I'd be happy to do this. |
Would love to tackle this! |
May I take this issue on? ETA: 2 days First review issue #147 and analyze the code and how it works |
Could I take a shot at this? |
gm! I am Sagar Rana, and I am experienced in writing Cairo smart contracts along with snforge tests. you can check my contributions and my works on my github and onlydust profile. here is how I would approach this issue: |
I’d like to work on this. |
Hello @sasasamaes this ticket is ready to work! Any questions let us know :) |
This issue will be part of ODHack9.0, please apply via Onlydust app
Acceptance Criteria
The text was updated successfully, but these errors were encountered: