Skip to content

Add support for eth_fillTransaction #12590

@mattsse

Description

@mattsse

Component

Anvil

Describe the feature you would like

same as

https://github.com/paradigmxyz/reth/blob/2a16222ea1cd473eaaf15fb2714d4ebd5a19a4b7/crates/rpc/rpc-eth-api/src/helpers/transaction.rs#L449-L456

we can duplicate

/// Response type for `eth_fillTransaction` RPC method.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FillTransactionResult<T> {
    /// RLP-encoded transaction bytes
    pub raw: Bytes,
    /// Filled transaction object
    pub tx: T,
}

in anvil but also upstream the type to foundry as well

Additional context

assigning @mablr

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions