forge::revm::precompile::identity

Function identity_run

pub fn identity_run(
    input: &Bytes,
    gas_limit: u64,
) -> Result<PrecompileOutput, PrecompileErrors>
Expand description

Takes the input bytes, copies them, and returns it as the output.

See: https://ethereum.github.io/yellowpaper/paper.pdf See: https://etherscan.io/address/0000000000000000000000000000000000000004