Skip to main content

gr_send_commit_wgas

Function gr_send_commit_wgas 

Source
pub unsafe extern "C" fn gr_send_commit_wgas(
    handle: Handle,
    pid_value: *const HashWithValue,
    gas_limit: Gas,
    delay: BlockNumber,
    err_mid: *mut ErrorWithHash,
)
Expand description

Fallible gr_send_commit_wgas send syscall.

Arguments type:

  • handle: u32 defining handle of the message to commit.
  • pid_value: const ptr for concatenated program id and value.
  • gas_limit: u64 defining gas limit for sending.
  • delay: u32 amount of blocks to delay.
  • err_mid: mut ptr for concatenated error code and message id.