reth
reth copied to clipboard
refactor: extract gas calculation logic in re-execute command
trafficstars
Overview
Refactors duplicated gas calculation logic in the re-execute command by extracting it into a reusable helper closure.
Why?
- Eliminates code duplication
- Improves maintainability - single source for gas calculation