Skip to main content

raw_RetrocausalQueueInsert

Function raw_RetrocausalQueueInsert 

Source
pub fn raw_RetrocausalQueueInsert(
    key: &StorageKeyContractData,
    queue_entry: &[u8],
) -> Result<(), SysErr>
Expand description

Inserts an entry into the retrocausal queue at the specified storage key. Like any storage write, this replaces a value of another type at the key. A queue with no live entries does not exist.

§Arguments

§Inputs

  • key
  • queue_entry

§Outputs

  • None

This is a thin wrapper around uninit_RetrocausalQueueInsert.

§Errors

  • kSyscallErrorCodeInvalidSyscallInput: The queue entry is too large, or too many entries are inserted in the current transaction.