Skip to content
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

chore: expose data gas consumed and data gas price for 0.7 rpc #1057

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

dhruvkelawala
Copy link
Collaborator

Motivation and Resolution

With starknet 0.13.1, overall_fee is calculated with data_gas_consumed and data_gas_price. Let's expose this if wallets or dapps wants to use it

RPC version (if applicable)

0.7

Usage related changes

  • Change 1.
  • ...

Development related changes

  • Change 1.
  • ...

Checklist:

  • Performed a self-review of the code
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Linked the issues which this PR resolves
  • Documented the changes in code (API docs will be generated automatically)
  • Updated the tests
  • All tests are passing

@ivpavici ivpavici requested review from penovicp and tabaktoni April 3, 2024 06:59
Copy link
Collaborator

@tabaktoni tabaktoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@penovicp penovicp changed the base branch from develop to next-version April 3, 2024 07:27
@penovicp penovicp merged commit abf87d1 into next-version Apr 3, 2024
3 checks passed
@penovicp penovicp deleted the chore/expose-data-gas-consumed branch April 3, 2024 07:29
@tabaktoni tabaktoni mentioned this pull request Apr 3, 2024
6 tasks
Copy link

github-actions bot commented Apr 3, 2024

🎉 This PR is included in version 6.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants