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

feat: store valid jumpdest and code hash #33

Open
ClementWalter opened this issue Sep 18, 2024 · 0 comments
Open

feat: store valid jumpdest and code hash #33

ClementWalter opened this issue Sep 18, 2024 · 0 comments
Milestone

Comments

@ClementWalter
Copy link
Member

ClementWalter commented Sep 18, 2024

Why

These values are deterministically dependent on the account code, which is immutable. In Kakarot, we store them in the corresponding starknet contract upon deployment to avoid recomputing them each time one interacts with an account.

What

Check how zeth and sp1-reth are doing with these.
Find a way to do these computations only once and not for each block.

@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Sep 18, 2024
@ClementWalter ClementWalter removed this from Keth Nov 28, 2024
@ClementWalter ClementWalter removed this from Keth Nov 28, 2024
@ClementWalter ClementWalter moved this to Todo in Keth Nov 28, 2024
@ClementWalter ClementWalter moved this from Todo to Backlog in Keth Nov 28, 2024
@ClementWalter ClementWalter added this to the Optimization milestone Nov 28, 2024
@ClementWalter ClementWalter changed the title feat: find out if it's possible to store valid jumpdest and code hash feat: store valid jumpdest and code hash Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant