snarkvm_synthesizer::prelude

Function cost_per_command

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

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