Skip to content

Conversation

@Sharilleed223
Copy link
Contributor

MinedTransactionReceipt.out is already of type Option<alloy_primitives::Bytes>, which matches the return type requirement. Extracting the inner bytes::Bytes via .0 and converting back via .into() is unnecessary and obscures intent.

@Sharilleed223
Copy link
Contributor Author

The failing test appears unrelated to this change - this PR only modifies Anvil's Otterscan API, while the test is for Forge CLI.

@Sharilleed223 Sharilleed223 force-pushed the remove_redundant_bytes branch from aa04ce1 to 59ac2e9 Compare October 24, 2025 09:32
@mattsse mattsse added this pull request to the merge queue Oct 24, 2025
Merged via the queue into foundry-rs:master with commit bfde973 Oct 24, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Oct 24, 2025
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