[−][src]Function ewasm_api::consume_gas
pub fn consume_gas(amount: u64)
Subtracts the given amount from the VM's gas counter. This is usually injected by the metering contract at deployment time, and hence is unneeded in most cases.
pub fn consume_gas(amount: u64)
Subtracts the given amount from the VM's gas counter. This is usually injected by the metering contract at deployment time, and hence is unneeded in most cases.