zephyr_sdk::utils

Function add_contract_to_footprint

source
pub fn add_contract_to_footprint(
    footprint: &mut LedgerFootprint,
    contract_id: &str,
    wasm_hash: &[u8],
)
Expand description

Helper to add both contract code and instance to the footprint. Useful especially for smart accounts.