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 db.
This function can only be called from the Deploy ContractSection
.
Returns SUCCESS
on success, otherwise returns an error code.
Permissions: deploy