diff --git a/macros/evm/evm.yaml.sql b/macros/evm/evm.yaml.sql index f4cabb9..8ccd16c 100644 --- a/macros/evm/evm.yaml.sql +++ b/macros/evm/evm.yaml.sql @@ -396,7 +396,7 @@ - [block_height, INTEGER, The start block height to get the logs from] - [to_latest, BOOLEAN, Whether to continue fetching logs until the latest block or not] return_type: - - "TABLE(block_number INTEGER, block_timestamp TIMESTAMP_NTZ, tx_hash STRING, event_index INTEGER, contract_address STRING, contract_name STRING, event_name STRING, decoded_log OBJECT, full_decoded_log VARIANT, fact_decoded_event_logs_id STRING, inserted_timestamp TIMESTAMP_NTZ, modified_timestamp TIMESTAMP_NTZ)" + - "TABLE(block_number INTEGER, block_timestamp TIMESTAMP_NTZ, tx_hash STRING, event_index INTEGER, contract_address STRING, event_name STRING, decoded_log OBJECT, full_decoded_log VARIANT, fact_decoded_event_logs_id STRING, inserted_timestamp TIMESTAMP_NTZ, modified_timestamp TIMESTAMP_NTZ)" options: | NOT NULL RETURNS NULL ON NULL INPUT diff --git a/macros/evm/evm_live_views.sql b/macros/evm/evm_live_views.sql index 591ebf2..9dd5b7b 100644 --- a/macros/evm/evm_live_views.sql +++ b/macros/evm/evm_live_views.sql @@ -456,7 +456,6 @@ SELECT B.tx_hash, B.event_index, B.contract_address, - D.name AS contract_name, B.event_name, B.decoded_flat AS decoded_log, B.decoded_data AS full_decoded_log, @@ -465,8 +464,6 @@ SELECT SYSDATE() AS modified_timestamp FROM _flatten_logs AS B LEFT JOIN _silver_decoded_logs AS C USING (block_number, _log_id) -LEFT JOIN {{ blockchain }}.core.dim_contracts AS D - ON B.contract_address = D.address {% endmacro %} {% macro evm_live_view_fact_transactions(schema, blockchain, network) %}