pub fn serialize_bytecode_without_prefix<S>(
    bytecode: &BytecodeObject,
    s: S
) -> Result<S::Ok, S::Error>where
    S: Serializer,
Expand description

This will serialize the bytecode data without a 0x prefix, which the ethers::types::Bytes adds by default.

This ensures that we serialize bytecode data in the same way as solc does, See also https://github.com/gakonst/ethers-rs/issues/1422