pub fn activate_program(
wasm: &[u8],
codehash: &[u8; 32],
stylus_version: u16,
arbos_version: u64,
page_limit: u16,
debug: bool,
gas: &mut u64,
) -> Result<ActivationResult>Expand description
Activate a Stylus program.
wasm must be the decompressed WASM bytes (call decompress_wasm first).
gas is decremented by the activation cost.