Skip to content

Conversation

@reallesee
Copy link
Contributor

Remove the redundant .into_iter().collect() in debug_trace_raw_block; the first collect::<Result<Vec<_>, _>>()? already returns the required Vec of signer addresses, so looping again only re-allocates the same data. Dropping it keeps the tracing logic untouched while trimming unnecessary work.

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty!

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Oct 18, 2025
@mattsse mattsse merged commit 67bf37b into paradigmxyz:main Oct 18, 2025
39 of 42 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Oct 18, 2025
emhane pushed a commit to op-rs/op-reth that referenced this pull request Oct 20, 2025
emhane pushed a commit to op-rs/op-reth that referenced this pull request Oct 20, 2025
@reallesee reallesee deleted the chore/remove-redundant-collect branch October 24, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants