Function casper_contract::contract_api::storage::disable_contract_version[][src]

pub fn disable_contract_version(
    contract_package_hash: ContractPackageHash,
    contract_hash: ContractHash
) -> Result<(), ApiError>
Expand description

Disable a version of a contract from the contract stored at the given Key. That version of the contract will no longer be callable by call_versioned_contract. Note that this contract must have been created by create_contract or create_contract_package_at_hash first.