pub fn build_fake_tx_bytes(
chain_id: ChainId,
to: Address,
contract_creation: bool,
value: U256,
data: Bytes,
) -> Vec<u8> ⓘExpand description
Build the EIP-2718 envelope of a fake EIP-1559 tx used to size the calldata payload for gas estimation (hard-coded random nonce/tip/feeCap/gas/sig fields).