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

dev: unrequired charge_gas in exec_create #902

Open
enitrat opened this issue Jan 23, 2024 · 1 comment
Open

dev: unrequired charge_gas in exec_create #902

enitrat opened this issue Jan 23, 2024 · 1 comment

Comments

@enitrat
Copy link
Collaborator

enitrat commented Jan 23, 2024

https://github.com/kkrt-labs/kakarot/tree/main/src/kakarot/instructions/system_operations.cairo#L90

If the context reverts, the entirety of its gas is consumed, thus it doesn't require to charge the gas prior to reverting.

@Josh-121
Copy link

please assign

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

No branches or pull requests

2 participants