diff --git a/models/gold/core/core__fact_transactions.sql b/models/gold/core/core__fact_transactions.sql index a40d38e..dc7c186 100644 --- a/models/gold/core/core__fact_transactions.sql +++ b/models/gold/core/core__fact_transactions.sql @@ -17,6 +17,7 @@ WITH chainwalkers AS ( authorizers, count_authorizers, gas_limit, + NULL AS script, transaction_result, tx_succeeded, error_msg, @@ -43,6 +44,7 @@ streamline AS ( authorizers, count_authorizers, gas_limit, + script, OBJECT_CONSTRUCT( 'error', error_message, @@ -86,6 +88,7 @@ SELECT authorizers, count_authorizers, gas_limit, + script, transaction_result, tx_succeeded, error_msg, diff --git a/models/gold/core/core__fact_transactions.yml b/models/gold/core/core__fact_transactions.yml index 5ef1c41..0fe5444 100644 --- a/models/gold/core/core__fact_transactions.yml +++ b/models/gold/core/core__fact_transactions.yml @@ -85,6 +85,9 @@ models: column_type_list: - NUMBER + - name: SCRIPT + description: "{{ doc('script') }}" + - name: TRANSACTION_RESULT description: "{{ doc('transaction_result') }}" tests: