snark_verifier::loader::evm

Function deploy_and_call

Source
pub fn deploy_and_call(
    deployment_code: Vec<u8>,
    calldata: Vec<u8>,
) -> Result<u64, String>
Expand description

Deploy contract and then call with calldata. Returns gas_used of call to deployed contract if both transactions are successful.