Skip to content

refactor(cheatcodes): simplify broadcastable tx creation#13982

Open
mablr wants to merge 1 commit intofoundry-rs:masterfrom
mablr:simplify-broadcastable-tx
Open

refactor(cheatcodes): simplify broadcastable tx creation#13982
mablr wants to merge 1 commit intofoundry-rs:masterfrom
mablr:simplify-broadcastable-tx

Conversation

@mablr
Copy link
Copy Markdown
Contributor

@mablr mablr commented Mar 28, 2026

Motivation

Towards Cheatcodes generics:

  • Remove TransactionMaybeSigned::new_signed() helper in favor of direct struct construction to avoid double signer recovery

  • Use TxEnvelope instead of FoundryTxEnvelope in executeTransactionCall cheatcode as it will become generic soon, allowing to remove Tempo/OP rejection checks (actually aligns on broadcastRawTransactionCall impl).

- Remove TransactionMaybeSigned::new_signed() helper in favor of direct struct construction to avoid double signer recovery

- Use TxEnvelope instead of FoundryTxEnvelope in executeTransaction cheatcode as it will become generic soon, allowing to remove Tempo/OP rejection checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants