pub fn calculate_gas_used_and_next_log_index( tx_index: u64, all_receipts: &[impl TxReceipt], ) -> (u64, usize)
Calculates the gas used and next log index for a transaction at the given index