Trait scrypto_test::prelude::costing::PreExecutionFeeReserve
source · pub trait PreExecutionFeeReserve {
// Required methods
fn consume_deferred_execution(
&mut self,
cost_units: u32
) -> Result<(), FeeReserveError>;
fn consume_deferred_storage(
&mut self,
storage_type: StorageType,
size_increase: usize
) -> Result<(), FeeReserveError>;
}
Expand description
This is only allowed before a transaction properly begins. After any other methods are called, this cannot be called again.