Skip to content

Remove redundant tx fetch in Optimism handler gas accounting#3220

Merged
rakita merged 6 commits intobluealloy:mainfrom
anim001k:patch-4
Dec 15, 2025
Merged

Remove redundant tx fetch in Optimism handler gas accounting#3220
rakita merged 6 commits intobluealloy:mainfrom
anim001k:patch-4

Conversation

@anim001k
Copy link
Contributor

  • drop duplicate ctx.tx() binding in last_frame_result, avoiding shadowing without changing behavior
  • keep gas handling unchanged while reducing noise

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 10, 2025

CodSpeed Performance Report

Merging #3220 will not alter performance

Comparing anim001k:patch-4 (a2a5069) with main (5fec9bb)

Summary

✅ 173 untouched

@rakita
Copy link
Member

rakita commented Dec 12, 2025

clippy pending

@anim001k
Copy link
Contributor Author

clippy pending

@rakita clippy fixed

@rakita rakita merged commit 436cd99 into bluealloy:main Dec 15, 2025
31 checks passed
@github-actions github-actions bot mentioned this pull request Dec 15, 2025
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 21, 2026
…luealloy/revm#3220)

* Update handler.rs

* Update handler.rs

* Update contract.rs

* Update memory.rs

* Update system.rs

* Update instructions.rs
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

Successfully merging this pull request may close these issues.

2 participants