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

[TEST] Get gas cost via RPC #28

Open
pefontana opened this issue Jul 8, 2024 · 0 comments
Open

[TEST] Get gas cost via RPC #28

pefontana opened this issue Jul 8, 2024 · 0 comments

Comments

@pefontana
Copy link
Collaborator

  • To ensure we get the same state after a block execution we need to take into account the gas. We need to make some modifications in blockifier and replay crates.
    • Get the gas cost of the tx via RPC in the starknet replay crate
    • Pass this gas cost to blockifier and pass it
    • charge this cost in the tx
      NOTE: These changes should be in a separate branch, since is not a modification we want to have in production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant