carbonable-labs / carbon-protocol-v3

Apache License 2.0
13 stars 25 forks source link

[Tests] Implement tests to calculate the quantity of gas that is consumed by the Smart Contract #15

Open cloudvenger opened 8 months ago

cloudvenger commented 8 months ago

Description

Implement tests to calculate the quantity of gas that is consumed by the Smart Contract

Additional Information

[ Medium Difficulty - Cairo - Low Priority]

Acceptance Criteria

Bonus :

Oshioke-Salaki commented 8 months ago

Please can I get this?

tekkac commented 8 months ago

Contribute to Carbonable during ODHack: Provable environmental infra

wugalde19 commented 8 months ago

Hi. If this has not been assigned yet I'd like to work on it

Joy-Adah commented 8 months ago

Hello @tekkac I'd love to be assigned this issue.

saimeunt commented 7 months ago

@Khyati729 I'd like to implement these tests if @Joy-Adah is no longer working on this.

EjembiEmmanuel commented 4 months ago

@cloudvenger I'll love to work on this if it is still open for contribution

armandocodecr commented 4 months ago

Hello @cloudvenger ! I would love to take care of this issue. I know several members of the developer community I am in who have contributed to your projects and I would like to be a part of it.

nemealfaro commented 4 months ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Hi, I'm Nemesis Alfaro from Costa Rica, i'm a system engineer. I love to learn and practice about different tecnologies. I'm hard-working, constant and curious person

How I plan on tackling this issue

First, i would like carefully read the request and be in contact with you for more infomation. Then i would to further investigate about the options to solve the issue and do tests to be sure that problem was solved, in case of presenting problems to do this, i would like to be in contact with you to provide me more details about the problem

JoshdfG commented 4 months ago

can i work on this??

Khyati729 commented 4 months ago

@JoshdfG @nemealfaro @armandocodecr @EjembiEmmanuel kindly please follow the instructions mentioned below

Go to the CarbonableOD Telegram: https://t.me/carbonableOD Present yourself and tell us which issue you want to pick Explain shortly how you want to tackle the issue Ask a question if you need some clarity When you're selected you will be assigned to the issue

EmmanuelAR commented 3 months ago

hey @cloudvenger can i work on this??

i will..

  1. Set Up Environment: Ensure all dependencies (Cairo, Starknet CLI) are installed.
  2. Identify Key Functions: Determine which smart contract functions need gas consumption testing.
  3. Write Tests: Implement tests to measure gas usage for these functions.
  4. Run Tests: Execute the tests and record gas consumption data.
  5. Generate Report (Bonus): Create a script to compile gas usage results into a report.
  6. Document: Provide clear instructions on running tests and understanding the report.