Skip to content
Closed
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ WITH
AND trs_1.block_date = sp.call_block_date
AND trs_1.block_time = sp.call_block_time
AND trs_1.outer_instruction_index = sp.call_outer_instruction_index
AND trs_1.inner_instruction_index = COALESCE(sp.call_inner_instruction_index,0) + 1
AND trs_1.to_owner = sp.account_lbPair
{% if is_incremental() %}
AND {{incremental_predicate('trs_1.block_time')}}
{% else %}
Expand All @@ -57,7 +57,7 @@ WITH
AND trs_2.block_date = sp.call_block_date
AND trs_2.block_time = sp.call_block_time
AND trs_2.outer_instruction_index = sp.call_outer_instruction_index
AND trs_2.inner_instruction_index = COALESCE(sp.call_inner_instruction_index,0) + 2
AND trs_2.from_owner = sp.account_lbPair
{% if is_incremental() %}
AND {{incremental_predicate('trs_2.block_time')}}
{% else %}
Expand Down
Loading