pub fn meter(
meter: &mut TranslationMeter<'_, '_>,
transaction: &ProgrammableTransaction,
) -> Result<(), ExecutionError>Expand description
Before loading and type checking, we do a first pass over the transaction to charge for basic properties:
- number of inputs and pure input bytes
- number of commands and their arguments
- for Move calls, count arguments to the function (both value and type arguments) as the “arguments” to charge for for the command.