diff --git a/.github/workflows/dbt_test_tasks.yml b/.github/workflows/dbt_test_tasks.yml index b2861c39..6c034513 100644 --- a/.github/workflows/dbt_test_tasks.yml +++ b/.github/workflows/dbt_test_tasks.yml @@ -24,6 +24,24 @@ concurrency: jobs: - called_workflow_template: - uses: FlipsideCrypto/analytics-workflow-templates/.github/workflows/dbt_test_tasks.yml@AN-4374/upgrade-dbt-1.7 - secrets: inherit \ No newline at end of file + run_dbt_jobs: + runs-on: ubuntu-latest + environment: + name: workflow_prod + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + cache: "pip" + + - name: install dependencies + run: | + pip install -r requirements.txt + dbt deps + + - name: Run DBT Jobs + run: | + dbt test -m "github_actions_package.github_actions__current_task_status" \ No newline at end of file diff --git a/models/gold/core/core__fact_blocks.yml b/models/gold/core/core__fact_blocks.yml index f54447db..c9ff458d 100644 --- a/models/gold/core/core__fact_blocks.yml +++ b/models/gold/core/core__fact_blocks.yml @@ -11,7 +11,7 @@ models: - name: NETWORK description: '{{ doc("evm_network") }}' - name: BLOCKCHAIN - description: '{{ doc("evm_blockchain") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: TX_COUNT description: '{{ doc("evm_tx_count") }}' - name: DIFFICULTY @@ -27,7 +27,7 @@ models: - name: BLOCK_HASH description: '{{ doc("evm_blocks_hash") }}' - name: HASH - description: '{{ doc("evm_blocks_hash") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: PARENT_HASH description: '{{ doc("evm_parent_hash") }}' - name: RECEIPTS_ROOT @@ -49,17 +49,17 @@ models: - name: UNCLE_BLOCKS description: '{{ doc("evm_uncle_blocks") }}' - name: BLOCK_HEADER_JSON - description: '{{ doc("evm_block_header_json") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_STATE_ROOT_TX_HASH - description: '{{ doc("evm_l1_state_tx_hash") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_STATE_ROOT_BATCH_INDEX - description: '{{ doc("evm_l1_state_batch") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_SUBMISSION_TX_HASH - description: '{{ doc("evm_l1_sub_tx_hash") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_SUBMISSION_BATCH_INDEX - description: '{{ doc("evm_l1_sub_batch") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_SUBMISSION_DETAILS - description: Variant column that includes details regarding state and submission root, index and tx_hash information for when the block is submitted to Ethereum Mainnet. + description: '{{ doc("evm_column_deprecation_notice") }}' - name: FACT_BLOCKS_ID description: '{{ doc("evm_pk") }}' - name: INSERTED_TIMESTAMP @@ -67,4 +67,4 @@ models: - name: MODIFIED_TIMESTAMP description: '{{ doc("evm_modified_timestamp") }}' - name: WITHDRAWALS_ROOT - description: A hash of the withdrawals that occurred in this block. \ No newline at end of file + description: '{{ doc("evm_column_deprecation_notice") }}' \ No newline at end of file diff --git a/models/gold/core/core__fact_event_logs.yml b/models/gold/core/core__fact_event_logs.yml index 7a4afb97..dc60998d 100644 --- a/models/gold/core/core__fact_event_logs.yml +++ b/models/gold/core/core__fact_event_logs.yml @@ -31,9 +31,9 @@ models: - name: EVENT_REMOVED description: '{{ doc("evm_event_removed") }}' - name: _LOG_ID - description: '{{ doc("evm_internal_column") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: TX_STATUS - description: '{{ doc("evm_tx_status") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: ORIGIN_FUNCTION_SIGNATURE description: '{{ doc("evm_origin_sig") }}' - name: ORIGIN_FROM_ADDRESS diff --git a/models/gold/core/core__fact_traces.yml b/models/gold/core/core__fact_traces.yml index 2b0418c8..983c3cd7 100644 --- a/models/gold/core/core__fact_traces.yml +++ b/models/gold/core/core__fact_traces.yml @@ -35,13 +35,13 @@ models: - name: TYPE description: '{{ doc("evm_traces_type") }}' - name: IDENTIFIER - description: '{{ doc("evm_traces_identifier") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: TRACE_ADDRESS description: '{{ doc("evm_trace_address") }}' - name: DATA description: '{{ doc("evm_traces_call_data") }}' - name: TX_STATUS - description: '{{ doc("evm_tx_status") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: TX_SUCCEEDED description: '{{ doc("evm_tx_succeeded") }}' - name: TRACE_SUCCEEDED @@ -49,7 +49,7 @@ models: - name: SUB_TRACES description: '{{ doc("evm_sub_traces") }}' - name: TRACE_STATUS - description: The status of the trace, either `SUCCESS` or `FAIL` + description: '{{ doc("evm_column_deprecation_notice") }}' - name: ERROR_REASON description: '{{ doc("evm_trace_error_reason") }}' - name: REVERT_REASON diff --git a/models/gold/core/core__fact_transactions.yml b/models/gold/core/core__fact_transactions.yml index 97b252d3..d3ed3963 100644 --- a/models/gold/core/core__fact_transactions.yml +++ b/models/gold/core/core__fact_transactions.yml @@ -9,13 +9,13 @@ models: - name: BLOCK_TIMESTAMP description: '{{ doc("evm_block_timestamp") }}' - name: BLOCK_HASH - description: '{{ doc("evm_tx_block_hash") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: TX_HASH description: '{{ doc("evm_tx_hash") }}' - name: NONCE description: '{{ doc("evm_tx_nonce") }}' - name: POSITION - description: '{{ doc("evm_tx_position") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: TX_POSITION description: '{{ doc("evm_tx_position") }}' - name: FROM_ADDRESS @@ -49,15 +49,15 @@ models: - name: L1_FEE description: The L1 portion of fees paid. - name: L1_STATE_ROOT_TX_HASH - description: '{{ doc("evm_l1_state_tx_hash") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_STATE_ROOT_BATCH_INDEX - description: '{{ doc("evm_l1_state_batch") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_SUBMISSION_TX_HASH - description: '{{ doc("evm_l1_sub_tx_hash") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_SUBMISSION_BATCH_INDEX - description: '{{ doc("evm_l1_sub_batch") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: L1_SUBMISSION_DETAILS - description: Variant column that includes details regarding state and submission root, index and tx_hash information for when the block is submitted to Ethereum Mainnet. + description: '{{ doc("evm_column_deprecation_notice") }}' - name: CUMULATIVE_GAS_USED description: '{{ doc("evm_cumulative_gas_used") }}' - name: MAX_FEE_PER_GAS @@ -65,7 +65,7 @@ models: - name: MAX_PRIORITY_FEE_PER_GAS description: The maximum priority fee per gas of the transaction, in Gwei. - name: STATUS - description: '{{ doc("evm_tx_status") }}' + description: '{{ doc("evm_column_deprecation_notice") }}' - name: TX_SUCCEEDED description: '{{ doc("evm_tx_succeeded") }}' - name: INPUT_DATA @@ -87,6 +87,6 @@ models: - name: MODIFIED_TIMESTAMP description: '{{ doc("evm_modified_timestamp") }}' - name: DEPOSIT_NONCE - description: The nonce of the deposit transaction. + description: '{{ doc("evm_column_deprecation_notice") }}' - name: DEPOSIT_RECEIPT_VERSION - description: The version of the deposit receipt. \ No newline at end of file + description: '{{ doc("evm_column_deprecation_notice") }}' \ No newline at end of file diff --git a/package-lock.yml b/package-lock.yml index ac8246c9..ae409c51 100644 --- a/package-lock.yml +++ b/package-lock.yml @@ -1,6 +1,6 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: 6456423f9a9fc14fcc6abd51c550d115db6cd28f + revision: cab2441342a20fe1dc690adfc6f7a9631b1370b6 - package: calogica/dbt_expectations version: 0.8.2 - package: dbt-labs/dbt_external_tables