Skip to content

feat(cast): block --raw network selection#13754

Merged
zerosnacks merged 4 commits intofoundry-rs:masterfrom
mablr:feature/cast_block_raw_network_selection
Mar 16, 2026
Merged

feat(cast): block --raw network selection#13754
zerosnacks merged 4 commits intofoundry-rs:masterfrom
mablr:feature/cast_block_raw_network_selection

Conversation

@mablr
Copy link
Copy Markdown
Collaborator

@mablr mablr commented Mar 14, 2026

Motivation

Stacked on #13745, merge the current only after, see : #13745 (comment)

Solution

  • Extracted --raw handling from Cast::block() into Cast::block_raw() for looser/specialized bound Header: Encodable.
  • Removed TryIntoRlpEncodable tmp workaround
  • Added specific testing for tempo to validate proper network encoding selection.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes (it actually fixes unexpected behavior when querying non-Ethereum networks)

mablr and others added 2 commits March 14, 2026 13:06
@mablr mablr changed the title Feature/cast block raw network selection feat(cast): block --raw network selection Mar 14, 2026
Copy link
Copy Markdown
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

👍

@zerosnacks zerosnacks merged commit 2a490b5 into foundry-rs:master Mar 16, 2026
16 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Foundry Mar 16, 2026
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