commit_deploy

Function commit_deploy 

Source
pub fn commit_deploy<F>(
    tx_input: TxInput,
    contract_path: &[u8],
    code_metadata: VMCodeMetadata,
    state: &mut BlockchainStateRef,
    runtime: &RuntimeRef,
    f: F,
) -> (VMAddress, TxResult)
Expand description

Executes deploy transaction and commits changes back to the underlying blockchain state.