From b0d8b8389e90f4962d706691aeae93b98c2a135e Mon Sep 17 00:00:00 2001 From: Austin Date: Wed, 5 Nov 2025 12:54:59 -0500 Subject: [PATCH] fsc evm --- data/github_actions__workflows.csv | 4 - dbt_project.yml | 32 +++- makefile | 145 +++++++++++++----- .../github_actions__current_task_status.sql | 6 - .../github_actions__task_history.sql | 6 - .../github_actions__task_performance.sql | 6 - .../github_actions__task_schedule.sql | 6 - .../github_actions/github_actions__tasks.sql | 6 - models/sources.yml | 10 ++ .../core/gold/testnet__dim_contracts.yml | 28 ---- .../core/gold/testnet__fact_blocks.yml | 66 -------- .../core/gold/testnet__fact_event_logs.yml | 46 ------ .../core/gold/testnet__fact_traces.yml | 62 -------- .../core/gold/testnet__fact_transactions.yml | 72 --------- packages.yml | 2 +- 15 files changed, 149 insertions(+), 348 deletions(-) delete mode 100644 data/github_actions__workflows.csv delete mode 100644 models/github_actions/github_actions__current_task_status.sql delete mode 100644 models/github_actions/github_actions__task_history.sql delete mode 100644 models/github_actions/github_actions__task_performance.sql delete mode 100644 models/github_actions/github_actions__task_schedule.sql delete mode 100644 models/github_actions/github_actions__tasks.sql delete mode 100644 models/testnet/core/gold/testnet__dim_contracts.yml delete mode 100644 models/testnet/core/gold/testnet__fact_blocks.yml delete mode 100644 models/testnet/core/gold/testnet__fact_event_logs.yml delete mode 100644 models/testnet/core/gold/testnet__fact_traces.yml delete mode 100644 models/testnet/core/gold/testnet__fact_transactions.yml diff --git a/data/github_actions__workflows.csv b/data/github_actions__workflows.csv deleted file mode 100644 index 758e51f..0000000 --- a/data/github_actions__workflows.csv +++ /dev/null @@ -1,4 +0,0 @@ -workflow_name,workflow_schedule -dbt_run_streamline_chainhead,"6,36 * * * *" -dbt_run_dev_refresh,"8 5 * * 1" -dbt_run_scheduled_main,"51 * * * *" \ No newline at end of file diff --git a/dbt_project.yml b/dbt_project.yml index 95f5322..dd22ecf 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -61,12 +61,39 @@ models: +enabled: true # Keep livequery models enabled since you need them +materialized: ephemeral fsc_evm: - +enabled: false # keep fsc_evm package disabled + +enabled: false # disable fsc_evm package by default +copy_grants: true +persist_docs: relation: true columns: true +on_schema_change: "append_new_columns" + +post-hook: "{{ fsc_evm.enable_change_tracking() }}" + main_package: + +enabled: false # disable main_package by default, enabled other packages as needed + admin: + +enabled: true + core: + +enabled: true # enable subpackages, as needed + github_actions: + +enabled: true + labels: + +enabled: true + observability: + +enabled: false + prices: + +enabled: true + token_reads: + +enabled: true + utils: + +enabled: true + decoder_package: + +enabled: false + curated_package: + +enabled: false + balances_package: + +enabled: false + scores_package: + +enabled: false vars: "dbt_date:time_zone": GMT @@ -74,11 +101,8 @@ vars: STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES: False UPDATE_UDFS_AND_SPS: False UPDATE_SNOWFLAKE_TAGS: True - OBSERV_FULL_TEST: False - WAIT: 0 HEAL_MODEL: False HEAL_MODELS: [] - START_GHA_TASKS: False #### STREAMLINE 2.0 BEGIN #### diff --git a/makefile b/makefile index 5ca1f34..1c6e93a 100644 --- a/makefile +++ b/makefile @@ -1,44 +1,119 @@ DBT_TARGET ?= dev - -deploy_streamline_functions: - rm -f package-lock.yml && dbt clean && dbt deps - dbt run -s livequery_models.deploy.core --vars '{"UPDATE_UDFS_AND_SPS":True}' -t $(DBT_TARGET) - dbt run-operation fsc_utils.create_evm_streamline_udfs --vars '{"UPDATE_UDFS_AND_SPS":True}' -t $(DBT_TARGET) +RECEIPTS_BY_HASH_ENABLED ?= false cleanup_time: + @set -e; \ rm -f package-lock.yml && dbt clean && dbt deps -deploy_streamline_tables: - rm -f package-lock.yml && dbt clean && dbt deps -ifeq ($(findstring dev,$(DBT_TARGET)),dev) - dbt run -m "fsc_evm,tag:bronze_external" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":True}' -t $(DBT_TARGET) -else - dbt run -m "fsc_evm,tag:bronze_external" -t $(DBT_TARGET) -endif - dbt run -m "fsc_evm,tag:streamline_core_complete" "fsc_evm,tag:streamline_core_realtime" "fsc_evm,tag:utils" --full-refresh -t $(DBT_TARGET) +deploy_gha_workflows_table: + @set -e; \ + echo "Collecting workflow names..." ; \ + WORKFLOW_VALUES="" ; \ + for file in $$(find .github/workflows -name "*.yml" -type f); do \ + filename=$$(basename "$$file" .yml) ; \ + if [ -z "$$WORKFLOW_VALUES" ]; then \ + WORKFLOW_VALUES="('$$filename')" ; \ + else \ + WORKFLOW_VALUES="$$WORKFLOW_VALUES,('$$filename')" ; \ + fi ; \ + done ; \ + echo "Found workflows: $$WORKFLOW_VALUES" ; \ + dbt run-operation create_workflow_table --args "{\"workflow_values\": \"$$WORKFLOW_VALUES\"}" -t $(DBT_TARGET) -deploy_streamline_requests: - rm -f package-lock.yml && dbt clean && dbt deps - dbt run -m "fsc_evm,tag:streamline_core_complete" "fsc_evm,tag:streamline_core_realtime" --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -t $(DBT_TARGET) +deploy_gha_tasks: + @set -e; \ + make deploy_gha_workflows_table DBT_TARGET=$(DBT_TARGET); \ + dbt run -s livequery_models.deploy.marketplace.github --vars '{"UPDATE_UDFS_AND_SPS":True}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:gha_tasks" --full-refresh -t $(DBT_TARGET); \ + dbt run-operation fsc_evm.create_gha_tasks --vars '{"RESUME_GHA_TASKS":True}' -t $(DBT_TARGET) -deploy_github_actions: - dbt run -s livequery_models.deploy.marketplace.github --vars '{"UPDATE_UDFS_AND_SPS":True}' -t $(DBT_TARGET) - dbt seed -s github_actions__workflows -t $(DBT_TARGET) - dbt run -m models/github_actions --full-refresh -t $(DBT_TARGET) -ifeq ($(findstring dev,$(DBT_TARGET)),dev) - dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":False}' -t $(DBT_TARGET) -else - dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":True}' -t $(DBT_TARGET) -endif +deploy_new_gha_tasks: + @set -e; \ + dbt run-operation fsc_evm.drop_github_actions_schema; \ + make deploy_gha_workflows_table DBT_TARGET=$(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:gha_tasks" --full-refresh -t $(DBT_TARGET); \ + dbt run-operation fsc_evm.create_gha_tasks --vars '{"RESUME_GHA_TASKS":True}' -t $(DBT_TARGET) -deploy_new_github_action: - dbt run-operation fsc_evm.drop_github_actions_schema -t $(DBT_TARGET) - dbt seed -s github_actions__workflows -t $(DBT_TARGET) - dbt run -m models/github_actions --full-refresh -t $(DBT_TARGET) -ifeq ($(findstring dev,$(DBT_TARGET)),dev) - dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":False}' -t $(DBT_TARGET) -else - dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":True}' -t $(DBT_TARGET) -endif +deploy_livequery: + @set -e; \ + dbt run-operation fsc_evm.drop_livequery_schemas --vars '{"UPDATE_UDFS_AND_SPS": true}' -t $(DBT_TARGET); \ + dbt run -m livequery_models.deploy.core --vars '{"UPDATE_UDFS_AND_SPS": true}' -t $(DBT_TARGET); \ + dbt run-operation fsc_evm.livequery_grants --vars '{"UPDATE_UDFS_AND_SPS": true}' -t $(DBT_TARGET) -.PHONY: deploy_streamline_functions deploy_streamline_tables deploy_streamline_requests deploy_github_actions cleanup_time deploy_new_github_action \ No newline at end of file +deploy_chain_phase_1: + @set -e; \ + dbt run -m livequery_models.deploy.core --vars '{"UPDATE_UDFS_AND_SPS": true}' -t $(DBT_TARGET); \ + dbt run-operation fsc_evm.livequery_grants --vars '{"UPDATE_UDFS_AND_SPS": true}' -t $(DBT_TARGET); \ + dbt run-operation fsc_evm.create_evm_streamline_udfs --vars '{"UPDATE_UDFS_AND_SPS": true}' -t $(DBT_TARGET); \ + dbt run-operation fsc_evm.call_sample_rpc_node -t $(DBT_TARGET); \ + make deploy_gha_workflows_table DBT_TARGET=$(DBT_TARGET); \ + if [ "$(DBT_TARGET)" != "prod" ]; then \ + if [ "$(RECEIPTS_BY_HASH_ENABLED)" = "true" ]; then \ + dbt run -m "fsc_evm,tag:phase_1" --exclude "fsc_evm,tag:receipts" --full-refresh --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "MAIN_SL_NEW_BUILD_ENABLED": true, "GLOBAL_STREAMLINE_FR_ENABLED": true}' -t $(DBT_TARGET); \ + dbt test -m "fsc_evm,tag:chainhead"; \ + dbt run -m "fsc_evm,tag:streamline,tag:core,tag:complete" "fsc_evm,tag:streamline,tag:core,tag:realtime" --exclude "fsc_evm,tag:receipts" "fsc_evm,tag:receipts_by_hash" "fsc_evm,tag:confirm_blocks" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "MAIN_SL_NEW_BUILD_ENABLED": true, "STREAMLINE_INVOKE_STREAMS":True, "MAIN_SL_TESTING_LIMIT": 500}' -t $(DBT_TARGET); \ + else \ + dbt run -m "fsc_evm,tag:phase_1" --exclude "fsc_evm,tag:receipts_by_hash" --full-refresh --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "MAIN_SL_NEW_BUILD_ENABLED": true, "GLOBAL_STREAMLINE_FR_ENABLED": true}' -t $(DBT_TARGET); \ + dbt test -m "fsc_evm,tag:chainhead"; \ + dbt run -m "fsc_evm,tag:streamline,tag:core,tag:complete" "fsc_evm,tag:streamline,tag:core,tag:realtime" --exclude "fsc_evm,tag:receipts_by_hash" "fsc_evm,tag:confirm_blocks" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "MAIN_SL_NEW_BUILD_ENABLED": true, "STREAMLINE_INVOKE_STREAMS":True, "MAIN_SL_TESTING_LIMIT": 500}' -t $(DBT_TARGET); \ + fi; \ + else \ + if [ "$(RECEIPTS_BY_HASH_ENABLED)" = "true" ]; then \ + dbt run -m "fsc_evm,tag:phase_1" --exclude "fsc_evm,tag:receipts" --full-refresh --vars '{"MAIN_SL_NEW_BUILD_ENABLED": true, "GLOBAL_STREAMLINE_FR_ENABLED": true}' -t $(DBT_TARGET); \ + dbt test -m "fsc_evm,tag:chainhead"; \ + dbt run -m "fsc_evm,tag:streamline,tag:core,tag:complete" "fsc_evm,tag:streamline,tag:core,tag:realtime" --exclude "fsc_evm,tag:receipts" "fsc_evm,tag:confirm_blocks" --vars '{"MAIN_SL_NEW_BUILD_ENABLED": true, "STREAMLINE_INVOKE_STREAMS":True}' -t $(DBT_TARGET); \ + else \ + dbt run -m "fsc_evm,tag:phase_1" --exclude "fsc_evm,tag:receipts_by_hash" --full-refresh --vars '{"MAIN_SL_NEW_BUILD_ENABLED": true, "GLOBAL_STREAMLINE_FR_ENABLED": true}' -t $(DBT_TARGET); \ + dbt test -m "fsc_evm,tag:chainhead"; \ + dbt run -m "fsc_evm,tag:streamline,tag:core,tag:complete" "fsc_evm,tag:streamline,tag:core,tag:realtime" --exclude "fsc_evm,tag:receipts_by_hash" "fsc_evm,tag:confirm_blocks" --vars '{"MAIN_SL_NEW_BUILD_ENABLED": true, "STREAMLINE_INVOKE_STREAMS":True}' -t $(DBT_TARGET); \ + fi; \ + fi; \ + echo "# wait ~10 minutes"; \ + echo "# run deploy_chain_phase_2" + +deploy_chain_phase_2: + @set -e; \ + if [ "$(DBT_TARGET)" != "prod" ]; then \ + dbt run -m "fsc_evm,tag:phase_2" --full-refresh --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "GLOBAL_STREAMLINE_FR_ENABLED": true, "GLOBAL_BRONZE_FR_ENABLED": true, "GLOBAL_SILVER_FR_ENABLED": true, "GLOBAL_GOLD_FR_ENABLED": true, "GLOBAL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:streamline,tag:token_reads,tag:realtime" "fsc_evm,tag:streamline,tag:token_reads,tag:complete" "fsc_evm,tag:streamline,tag:abis,tag:realtime" "fsc_evm,tag:streamline,tag:abis,tag:complete" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "STREAMLINE_INVOKE_STREAMS":True, "DECODER_SL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + if [ "$(RECEIPTS_BY_HASH_ENABLED)" = "true" ]; then \ + dbt run -m "fsc_evm,tag:streamline,tag:receipts_by_hash,tag:realtime" --full-refresh --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "MAIN_SL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:streamline,tag:receipts_by_hash,tag:realtime" "fsc_evm,tag:streamline,tag:receipts_by_hash,tag:complete" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "STREAMLINE_INVOKE_STREAMS":True, "MAIN_SL_NEW_BUILD_ENABLED": true, "MAIN_SL_TESTING_LIMIT": 500}' -t $(DBT_TARGET); \ + fi; \ + else \ + dbt run -m "fsc_evm,tag:phase_2" --full-refresh --vars '{"GLOBAL_STREAMLINE_FR_ENABLED": true, "GLOBAL_BRONZE_FR_ENABLED": true, "GLOBAL_SILVER_FR_ENABLED": true, "GLOBAL_GOLD_FR_ENABLED": true, "GLOBAL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:streamline,tag:token_reads,tag:realtime" "fsc_evm,tag:streamline,tag:token_reads,tag:complete" "fsc_evm,tag:streamline,tag:abis,tag:realtime" "fsc_evm,tag:streamline,tag:abis,tag:complete" --vars '{"STREAMLINE_INVOKE_STREAMS":True, "DECODER_SL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + if [ "$(RECEIPTS_BY_HASH_ENABLED)" = "true" ]; then \ + dbt run -m "fsc_evm,tag:streamline,tag:receipts_by_hash,tag:realtime" --full-refresh --vars '{"MAIN_SL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:streamline,tag:receipts_by_hash,tag:realtime" "fsc_evm,tag:streamline,tag:receipts_by_hash,tag:complete" --vars '{"STREAMLINE_INVOKE_STREAMS":True, "MAIN_SL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + fi; \ + fi; \ + echo "# wait ~10 minutes"; \ + echo "# run deploy_chain_phase_3" + +deploy_chain_phase_3: + @set -e; \ + if [ "$(DBT_TARGET)" != "prod" ]; then \ + dbt run -m "fsc_evm,tag:phase_2" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:phase_3" --full-refresh --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "GLOBAL_STREAMLINE_FR_ENABLED": true, "GLOBAL_SILVER_FR_ENABLED": true, "GLOBAL_GOLD_FR_ENABLED": true, "GLOBAL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:silver,tag:abis" "fsc_evm,tag:streamline,tag:decoded_logs,tag:realtime" "fsc_evm,tag:streamline,tag:decoded_logs,tag:complete" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true, "STREAMLINE_INVOKE_STREAMS":True, "DECODER_SL_TESTING_LIMIT": 500}' -t $(DBT_TARGET); \ + else \ + dbt run -m "fsc_evm,tag:phase_2" -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:phase_3" --full-refresh --vars '{"GLOBAL_STREAMLINE_FR_ENABLED": true, "GLOBAL_SILVER_FR_ENABLED": true, "GLOBAL_GOLD_FR_ENABLED": true, "GLOBAL_NEW_BUILD_ENABLED": true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:silver,tag:abis" "fsc_evm,tag:streamline,tag:decoded_logs,tag:realtime" "fsc_evm,tag:streamline,tag:decoded_logs,tag:complete" --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -t $(DBT_TARGET); \ + fi; \ + echo "# wait ~10 minutes"; \ + echo "# run deploy_chain_phase_4" + +deploy_chain_phase_4: + @set -e; \ + if [ "$(DBT_TARGET)" != "prod" ]; then \ + dbt run -m "fsc_evm,tag:phase_3" --vars '{"STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES":true}' -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:phase_4" --full-refresh -t $(DBT_TARGET); \ + else \ + dbt run -m "fsc_evm,tag:phase_3" -t $(DBT_TARGET); \ + dbt run -m "fsc_evm,tag:phase_4" --full-refresh -t $(DBT_TARGET); \ + make deploy_gha_tasks DBT_TARGET=$(DBT_TARGET); \ + fi; \ + +.PHONY: cleanup_time deploy_gha_workflows_table deploy_gha_tasks deploy_new_gha_tasks deploy_livequery deploy_chain_phase_1 deploy_chain_phase_2 deploy_chain_phase_3 deploy_chain_phase_4 \ No newline at end of file diff --git a/models/github_actions/github_actions__current_task_status.sql b/models/github_actions/github_actions__current_task_status.sql deleted file mode 100644 index 577a226..0000000 --- a/models/github_actions/github_actions__current_task_status.sql +++ /dev/null @@ -1,6 +0,0 @@ -{{ config( - materialized = 'view', - tags = ['gha_tasks'] -) }} - -{{ fsc_utils.gha_task_current_status_view() }} \ No newline at end of file diff --git a/models/github_actions/github_actions__task_history.sql b/models/github_actions/github_actions__task_history.sql deleted file mode 100644 index 22c90a9..0000000 --- a/models/github_actions/github_actions__task_history.sql +++ /dev/null @@ -1,6 +0,0 @@ -{{ config( - materialized = 'view', - tags = ['gha_tasks'] -) }} - -{{ fsc_utils.gha_task_history_view() }} \ No newline at end of file diff --git a/models/github_actions/github_actions__task_performance.sql b/models/github_actions/github_actions__task_performance.sql deleted file mode 100644 index c5ccf86..0000000 --- a/models/github_actions/github_actions__task_performance.sql +++ /dev/null @@ -1,6 +0,0 @@ -{{ config( - materialized = 'view', - tags = ['gha_tasks'] -) }} - -{{ fsc_utils.gha_task_performance_view() }} \ No newline at end of file diff --git a/models/github_actions/github_actions__task_schedule.sql b/models/github_actions/github_actions__task_schedule.sql deleted file mode 100644 index 3e710a7..0000000 --- a/models/github_actions/github_actions__task_schedule.sql +++ /dev/null @@ -1,6 +0,0 @@ -{{ config( - materialized = 'view', - tags = ['gha_tasks'] -) }} - -{{ fsc_utils.gha_task_schedule_view() }} \ No newline at end of file diff --git a/models/github_actions/github_actions__tasks.sql b/models/github_actions/github_actions__tasks.sql deleted file mode 100644 index 1ac65b7..0000000 --- a/models/github_actions/github_actions__tasks.sql +++ /dev/null @@ -1,6 +0,0 @@ -{{ config( - materialized = 'view', - tags = ['gha_tasks'] -) }} - -{{ fsc_utils.gha_tasks_view() }} \ No newline at end of file diff --git a/models/sources.yml b/models/sources.yml index 8d38ff0..872b21a 100644 --- a/models/sources.yml +++ b/models/sources.yml @@ -17,6 +17,16 @@ sources: - name: testnet_traces - name: testnet_confirm_blocks - name: testnet_decoded_logs + - name: blocks + - name: transactions + - name: receipts + - name: traces + - name: confirm_blocks + - name: decoded_logs + - name: token_reads + - name: balances_erc20 + - name: balances_native + - name: contract_abis - name: crosschain_silver database: "{{ 'crosschain' if target.database.upper() == var('GLOBAL_PROD_DB_NAME').upper() else 'crosschain_dev' }}" schema: silver diff --git a/models/testnet/core/gold/testnet__dim_contracts.yml b/models/testnet/core/gold/testnet__dim_contracts.yml deleted file mode 100644 index 74af12d..0000000 --- a/models/testnet/core/gold/testnet__dim_contracts.yml +++ /dev/null @@ -1,28 +0,0 @@ -version: 2 -models: - - name: testnet__dim_contracts - description: '{{ doc("evm_contracts_table_doc") }}' - - columns: - - name: ADDRESS - description: '{{ doc("evm_contracts_contract_address") }}' - - name: SYMBOL - description: '{{ doc("evm_contracts_symbol") }}' - - name: NAME - description: '{{ doc("evm_contracts_name") }}' - - name: DECIMALS - description: '{{ doc("evm_decimals") }}' - - name: CREATED_BLOCK_NUMBER - description: '{{ doc("evm_contracts_block_number") }}' - - name: CREATED_BLOCK_TIMESTAMP - description: '{{ doc("evm_contracts_block_time") }}' - - name: CREATED_TX_HASH - description: '{{ doc("evm_contracts_created_tx_hash") }}' - - name: CREATOR_ADDRESS - description: '{{ doc("evm_creator_address") }}' - - name: DIM_CONTRACTS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/testnet/core/gold/testnet__fact_blocks.yml b/models/testnet/core/gold/testnet__fact_blocks.yml deleted file mode 100644 index 32e46e4..0000000 --- a/models/testnet/core/gold/testnet__fact_blocks.yml +++ /dev/null @@ -1,66 +0,0 @@ -version: 2 -models: - - name: testnet__fact_blocks - description: '{{ doc("evm_blocks_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_HASH - description: '{{ doc("evm_blocks_hash") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: NETWORK - description: '{{ doc("evm_network") }}' - - name: TX_COUNT - description: '{{ doc("evm_tx_count") }}' - - name: SIZE - description: '{{ doc("evm_size") }}' - - name: MINER - description: '{{ doc("evm_miner") }}' - - name: BASE_FEE_PER_GAS - description: '{{ doc("evm_base_fee_per_gas") }}' - - name: MIX_HASH - description: '{{ doc("evm_mix_hash") }}' - - name: EXTRA_DATA - description: '{{ doc("evm_extra_data") }}' - - name: PARENT_HASH - description: '{{ doc("evm_parent_hash") }}' - - name: GAS_USED - description: '{{ doc("evm_gas_used") }}' - - name: GAS_LIMIT - description: '{{ doc("evm_gas_limit") }}' - - name: DIFFICULTY - description: '{{ doc("evm_difficulty") }}' - - name: TOTAL_DIFFICULTY - description: '{{ doc("evm_total_difficulty") }}' - - name: SHA3_UNCLES - description: '{{ doc("evm_sha3_uncles") }}' - - name: UNCLE_BLOCKS - description: '{{ doc("evm_uncle_blocks") }}' - - name: NONCE - description: '{{ doc("evm_blocks_nonce") }}' - - name: RECEIPTS_ROOT - description: '{{ doc("evm_receipts_root") }}' - - name: STATE_ROOT - description: '{{ doc("evm_state_root") }}' - - name: TRANSACTIONS_ROOT - description: '{{ doc("evm_transactions_root") }}' - - name: LOGS_BLOOM - description: '{{ doc("evm_logs_bloom") }}' - - name: BLOB_GAS_USED - description: '{{ doc("evm_blob_gas_used") }}' - - name: EXCESS_BLOB_GAS - description: '{{ doc("evm_excess_blob_gas") }}' - - name: PARENT_BEACON_BLOCK_ROOT - description: '{{ doc("evm_parent_beacon_block_root") }}' - - name: WITHDRAWALS - description: '{{ doc("evm_withdrawals") }}' - - name: WITHDRAWALS_ROOT - description: '{{ doc("evm_withdrawals_root") }}' - - name: FACT_BLOCKS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/testnet/core/gold/testnet__fact_event_logs.yml b/models/testnet/core/gold/testnet__fact_event_logs.yml deleted file mode 100644 index 4b063be..0000000 --- a/models/testnet/core/gold/testnet__fact_event_logs.yml +++ /dev/null @@ -1,46 +0,0 @@ -version: 2 -models: - - name: testnet__fact_event_logs - description: '{{ doc("evm_logs_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_tx_hash") }}' - - name: TX_POSITION - description: '{{ doc("evm_tx_position") }}' - - name: EVENT_INDEX - description: '{{ doc("evm_event_index") }}' - - name: CONTRACT_ADDRESS - description: '{{ doc("evm_logs_contract_address") }}' - - name: TOPICS - description: '{{ doc("evm_topics") }}' - - name: TOPIC_0 - description: '{{ doc("evm_topic_0") }}' - - name: TOPIC_1 - description: '{{ doc("evm_topic_1") }}' - - name: TOPIC_2 - description: '{{ doc("evm_topic_2") }}' - - name: TOPIC_3 - description: '{{ doc("evm_topic_3") }}' - - name: DATA - description: '{{ doc("evm_logs_data") }}' - - name: EVENT_REMOVED - description: '{{ doc("evm_event_removed") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_from_address") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_to_address") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_origin_sig") }}' - - name: TX_SUCCEEDED - description: '{{ doc("evm_tx_succeeded") }}' - - name: FACT_EVENT_LOGS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/testnet/core/gold/testnet__fact_traces.yml b/models/testnet/core/gold/testnet__fact_traces.yml deleted file mode 100644 index 4a2d1db..0000000 --- a/models/testnet/core/gold/testnet__fact_traces.yml +++ /dev/null @@ -1,62 +0,0 @@ -version: 2 -models: - - name: testnet__fact_traces - description: '{{ doc("evm_traces_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_tx_hash") }}' - - name: TX_POSITION - description: '{{ doc("evm_tx_position") }}' - - name: TRACE_INDEX - description: '{{ doc("evm_trace_index") }}' - - name: FROM_ADDRESS - description: '{{ doc("evm_from_address") }}' - - name: TO_ADDRESS - description: '{{ doc("evm_to_address") }}' - - name: INPUT - description: '{{ doc("evm_traces_input") }}' - - name: OUTPUT - description: '{{ doc("evm_traces_output") }}' - - name: TYPE - description: '{{ doc("evm_traces_type") }}' - - name: TRACE_ADDRESS - description: '{{ doc("evm_trace_address") }}' - - name: SUB_TRACES - description: '{{ doc("evm_sub_traces") }}' - - name: VALUE - description: '{{ doc("evm_value") }}' - - name: VALUE_PRECISE_RAW - description: '{{ doc("evm_precise_amount_unadjusted") }}' - - name: VALUE_PRECISE - description: '{{ doc("evm_precise_amount_adjusted") }}' - - name: VALUE_HEX - description: '{{ doc("evm_value_hex") }}' - - name: GAS - description: '{{ doc("evm_traces_gas") }}' - - name: GAS_USED - description: '{{ doc("evm_traces_gas_used") }}' - - name: ORIGIN_FROM_ADDRESS - description: '{{ doc("evm_traces_from") }}' - - name: ORIGIN_TO_ADDRESS - description: '{{ doc("evm_traces_to") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_origin_sig") }}' - - name: TRACE_SUCCEEDED - description: '{{ doc("evm_trace_succeeded") }}' - - name: ERROR_REASON - description: '{{ doc("evm_trace_error_reason") }}' - - name: REVERT_REASON - description: '{{ doc("evm_revert_reason") }}' - - name: TX_SUCCEEDED - description: '{{ doc("evm_tx_succeeded") }}' - - name: FACT_TRACES_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/models/testnet/core/gold/testnet__fact_transactions.yml b/models/testnet/core/gold/testnet__fact_transactions.yml deleted file mode 100644 index e7a7b53..0000000 --- a/models/testnet/core/gold/testnet__fact_transactions.yml +++ /dev/null @@ -1,72 +0,0 @@ -version: 2 -models: - - name: testnet__fact_transactions - description: '{{ doc("evm_tx_table_doc") }}' - - columns: - - name: BLOCK_NUMBER - description: '{{ doc("evm_block_number") }}' - - name: BLOCK_TIMESTAMP - description: '{{ doc("evm_block_timestamp") }}' - - name: TX_HASH - description: '{{ doc("evm_tx_hash") }}' - - name: FROM_ADDRESS - description: '{{ doc("evm_from_address") }}' - - name: TO_ADDRESS - description: '{{ doc("evm_to_address") }}' - - name: ORIGIN_FUNCTION_SIGNATURE - description: '{{ doc("evm_tx_origin_sig") }}' - - name: VALUE - description: '{{ doc("evm_value") }}' - - name: VALUE_PRECISE_RAW - description: '{{ doc("evm_precise_amount_unadjusted") }}' - - name: VALUE_PRECISE - description: '{{ doc("evm_precise_amount_adjusted") }}' - - name: TX_FEE - description: '{{ doc("evm_tx_fee") }}' - - name: TX_FEE_PRECISE - description: '{{ doc("evm_tx_fee_precise") }}' - - name: TX_SUCCEEDED - description: '{{ doc("evm_tx_succeeded") }}' - - name: TX_TYPE - description: '{{ doc("evm_tx_type") }}' - - name: NONCE - description: '{{ doc("evm_tx_nonce") }}' - - name: TX_POSITION - description: '{{ doc("evm_tx_position") }}' - - name: INPUT_DATA - description: '{{ doc("evm_tx_input_data") }}' - - name: GAS_PRICE - description: '{{ doc("evm_tx_gas_price") }}' - - name: GAS_USED - description: '{{ doc("evm_tx_gas_used") }}' - - name: GAS_LIMIT - description: '{{ doc("evm_tx_gas_limit") }}' - - name: CUMULATIVE_GAS_USED - description: '{{ doc("evm_cumulative_gas_used") }}' - - name: EFFECTIVE_GAS_PRICE - description: '{{ doc("evm_effective_gas_price") }}' - - name: R - description: '{{ doc("evm_r") }}' - - name: S - description: '{{ doc("evm_s") }}' - - name: V - description: '{{ doc("evm_v") }}' - - name: MAX_FEE_PER_GAS - description: '{{ doc("evm_max_fee_per_gas") }}' - - name: MAX_PRIORITY_FEE_PER_GAS - description: '{{ doc("evm_max_priority_fee_per_gas") }}' - - name: L1_FEE - description: '{{ doc("evm_l1_fee") }}' - - name: L1_FEE_PRECISE_RAW - description: '{{ doc("evm_l1_fee_precise_raw") }}' - - name: Y_PARITY - description: '{{ doc("evm_y_parity") }}' - - name: ACCESS_LIST - description: '{{ doc("evm_access_list") }}' - - name: FACT_TRANSACTIONS_ID - description: '{{ doc("evm_pk") }}' - - name: INSERTED_TIMESTAMP - description: '{{ doc("evm_inserted_timestamp") }}' - - name: MODIFIED_TIMESTAMP - description: '{{ doc("evm_modified_timestamp") }}' \ No newline at end of file diff --git a/packages.yml b/packages.yml index b586f84..2149abf 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: v3.30.0 \ No newline at end of file + revision: DAT2-109/monad-mainnet \ No newline at end of file