snarkvm_synthesizer_process

Function cost_per_command

Source
pub fn cost_per_command<N: Network>(
    stack: &Stack<N>,
    finalize: &Finalize<N>,
    command: &Command<N>,
    consensus_fee_version: ConsensusFeeVersion,
) -> Result<u64>
Expand description

Returns the the cost of a command in a finalize scope.