zkas_db_set

Function zkas_db_set 

Source
pub(crate) fn zkas_db_set(
    ctx: FunctionEnvMut<'_, Env>,
    ptr: WasmPtr<u8>,
    ptr_len: u32,
) -> i64
Expand description

Given a zkas circuit, create a VerifyingKey and insert them both into the on-chain db.

Returns SUCCESS on success, otherwise returns an error code.

ยงPermissions

  • ContractSection::Deploy