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

Shower thought: keep storing the contract code outside the tree #422

Open
gballet opened this issue Apr 20, 2024 · 1 comment
Open

Shower thought: keep storing the contract code outside the tree #422

gballet opened this issue Apr 20, 2024 · 1 comment

Comments

@gballet
Copy link
Owner

gballet commented Apr 20, 2024

Rationale

In geth, the code is currently stored outside the tree. Reading from the tree will take time, and until this happens, code will be stored twice. Since code can no longer be written to after the first time, it makes sense to just encode code groups as their commitment and add them to the witness from the whole code read from the db.

@gballet
Copy link
Owner Author

gballet commented Aug 29, 2024

Look at #479 when implementing this.

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

No branches or pull requests

1 participant