remove streamline

This commit is contained in:
drethereum 2025-11-10 09:33:25 -07:00
parent 44e7c93a72
commit cdd5643d1a
28 changed files with 2 additions and 443 deletions

View File

@ -73,8 +73,6 @@ models:
+enabled: true
core:
+enabled: true # enable subpackages, as needed
bronze:
+enabled: false
github_actions:
+enabled: true
labels:
@ -92,13 +90,7 @@ models:
abis:
+enabled: true
decoded_logs:
+enabled: false
gold:
+enabled: true
silver:
+enabled: true
streamline:
+enabled: true
+enabled: true
curated_package:
+enabled: false
stats:

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query(
source_name = 'blocks',
source_version = 'v2'
) }}

View File

@ -1,29 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
SELECT
partition_key,
block_number,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__blocks_fr_v2') }}
UNION ALL
SELECT
_partition_by_block_id AS partition_key,
block_number,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__blocks_fr_v1') }}

View File

@ -1,16 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','streamline_v1','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'blocks',
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 3), '_', 1) AS INTEGER)",
partition_join_key = "_partition_by_block_id",
block_number = false
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'blocks',
source_version = 'v2'
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','confirm_blocks','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query(
source_name = 'confirm_blocks',
source_version = 'v2'
) }}

View File

@ -1,29 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{{ config (
materialized = 'view',
tags = ['bronze','core','confirm_blocks','phase_1']
) }}
SELECT
partition_key,
block_number,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__confirm_blocks_fr_v2') }}
UNION ALL
SELECT
_partition_by_block_id AS partition_key,
block_number,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__confirm_blocks_fr_v1') }}

View File

@ -1,17 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','streamline_v1','confirm_blocks','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'confirm_blocks',
source_version = '',
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 3), '_', 1) AS INTEGER)",
partition_join_key = "_partition_by_block_id",
block_number = false
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','confirm_blocks','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'confirm_blocks',
source_version = 'v2'
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','receipts','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query(
source_name = 'receipts',
source_version = 'v2'
) }}

View File

@ -1,34 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{{ config (
materialized = 'view',
tags = ['bronze','core','receipts','phase_1']
) }}
SELECT
partition_key,
block_number,
array_index,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__receipts_fr_v2') }}
UNION ALL
SELECT
_partition_by_block_id AS partition_key,
block_number,
COALESCE(
VALUE :array_index :: INT,
TRY_TO_NUMBER(utils.udf_hex_to_int(VALUE :data :"transactionIndex" :: STRING))
) AS array_index,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__receipts_fr_v1') }}

View File

@ -1,17 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','streamline_v1','receipts','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'receipts',
source_version = '',
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 3), '_', 1) AS INTEGER)",
partition_join_key = "_partition_by_block_id",
block_number = false
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','receipts','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'receipts',
source_version = 'v2'
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query(
source_name = 'traces',
source_version = 'v2'
) }}

View File

@ -1,31 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
SELECT
partition_key,
block_number,
array_index,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__traces_fr_v2') }}
UNION ALL
SELECT
_partition_by_block_id AS partition_key,
block_number,
VALUE :"array_index" :: INT AS array_index,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__traces_fr_v1') }}

View File

@ -1,16 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','streamline_v1','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'debug_traceblockbynumber',
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 3), '_', 1) AS INTEGER)",
partition_join_key = "_partition_by_block_id",
block_number = false
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'traces',
source_version = 'v2'
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query(
source_name = 'transactions',
source_version = 'v2'
) }}

View File

@ -1,29 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
SELECT
partition_key,
block_number,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__transactions_fr_v2') }}
UNION ALL
SELECT
_partition_by_block_id AS partition_key,
block_number,
VALUE,
DATA,
metadata,
file_name,
_inserted_timestamp
FROM
{{ ref('bronze__transactions_fr_v1') }}

View File

@ -1,16 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','streamline_v1','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'transactions',
partition_function = "CAST(SPLIT_PART(SPLIT_PART(file_name, '/', 3), '_', 1) AS INTEGER)",
partition_join_key = "_partition_by_block_id",
block_number = false
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','core','phase_1']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_fr(
source_name = 'transactions',
source_version = 'v2'
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','decoded_logs','phase_2']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_decoder(
source_name = 'decoded_logs',
source_version = 'v2'
) }}

View File

@ -1,18 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','decoded_logs','phase_2']
) }}
SELECT
*
FROM
{{ ref('bronze__decoded_logs_fr_v2') }}
UNION ALL
SELECT
*
FROM
{{ ref('bronze__decoded_logs_fr_v1') }}

View File

@ -1,13 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','decoded_logs','streamline_v1','phase_2']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_decoder_fr(
source_name = 'decoded_logs'
) }}

View File

@ -1,14 +0,0 @@
{# Log configuration details #}
{{ fsc_evm.log_model_details() }}
{# Set up dbt configuration #}
{{ config (
materialized = 'view',
tags = ['bronze','decoded_logs','phase_2']
) }}
{# Main query starts here #}
{{ fsc_evm.streamline_external_table_query_decoder_fr(
source_name = 'decoded_logs',
source_version = 'v2'
) }}

View File

@ -1,3 +1,3 @@
packages:
- git: https://github.com/FlipsideCrypto/fsc-evm.git
revision: v4.32.3
revision: DAT2-17/fsc-evm-et