diff --git a/macros/decoder/decoded_traces_history.sql b/macros/decoder/decoded_traces_history.sql index 70b3be52..8a99d946 100644 --- a/macros/decoder/decoded_traces_history.sql +++ b/macros/decoder/decoded_traces_history.sql @@ -33,8 +33,11 @@ '-', t.block_number, t.tx_position, - t.type, - t.trace_address + CONCAT( + t.type, + '_', + t.trace_address + ) ) AS _call_id FROM {{ ref('core__fact_traces') }} @@ -148,8 +151,11 @@ '-', t.block_number, t.tx_position, - t.type, - t.trace_address + CONCAT( + t.type, + '_', + t.trace_address + ) ) AS _call_id FROM target_blocks