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

Use optimized/analyzed bytecode returned from revm #1793

Open
yaziciahmet opened this issue Feb 1, 2025 · 1 comment
Open

Use optimized/analyzed bytecode returned from revm #1793

yaziciahmet opened this issue Feb 1, 2025 · 1 comment
Milestone

Comments

@yaziciahmet
Copy link
Contributor

Revm, when executing a transaction on a smart contract does some runtime optimizations and updates the bytecode. We currently ignore the new bytecode if the address already has a bytecode. We can save the new analyzed bytecode to offchain_code state for following transaction executions to be more optimized.

@eyusufatik eyusufatik added this to the Mainnet Must milestone Feb 3, 2025
@eyusufatik
Copy link
Member

for LegacyRaw to LegacyAnalyzed conversion the only viable option is to also commit to the LegacyAnalyzed hash somehow

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

2 participants