reth icon indicating copy to clipboard operation
reth copied to clipboard

Use `with_chain_id` for `CfgEnv`

Open tcoratger opened this issue 1 year ago • 2 comments

Describe the feature

After https://github.com/bluealloy/revm/pull/1327 is merged and after the next release of revm, we should replace direct assignment of chain_id in CfgEnv with the with_chain_id method, which offers a cleaner and more expressive approach:

https://github.com/paradigmxyz/reth/blob/9fd35f948c65325447d1d7dced207842d2f2c782/crates/payload/optimism/src/payload.rs#L115-L116

Additional context

No response

tcoratger avatar Apr 23 '24 13:04 tcoratger

Blocked by #7765

onbjerg avatar Apr 23 '24 16:04 onbjerg

This issue is stale because it has been open for 21 days with no activity.

github-actions[bot] avatar May 15 '24 01:05 github-actions[bot]