From 07b986bcd71500340568dc0dc7097233ebb1b0b8 Mon Sep 17 00:00:00 2001 From: Carl Cervone <42869436+ccerv1@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:32:19 -0400 Subject: [PATCH] fix: use receipt_gas_price instead of receipt_effective_gas_price (#1696) * fix: use receipt_gas_price instead of receipt_effective_gas_price * fix: col name * fix: type casts --- .../dbt/macros/models/contract_invocation_events_with_l1.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warehouse/dbt/macros/models/contract_invocation_events_with_l1.sql b/warehouse/dbt/macros/models/contract_invocation_events_with_l1.sql index 5fab80891..1b874f970 100644 --- a/warehouse/dbt/macros/models/contract_invocation_events_with_l1.sql +++ b/warehouse/dbt/macros/models/contract_invocation_events_with_l1.sql @@ -14,7 +14,7 @@ transactions as ( LOWER(to_address) as to_artifact_source_id, LOWER(from_address) as from_artifact_source_id, receipt_status, - (receipt_gas_used * receipt_effective_gas_price) as l2_gas_fee + (receipt_gas_used * gas_price) as l2_gas_fee from {{ ref('int_%s_transactions' % lower_network_name) }} where block_timestamp >= {{ start }}