add script field to fact transactions (#330)

* add script field

* add to yml
This commit is contained in:
Jack Forgash 2024-06-06 21:20:42 -06:00 committed by GitHub
parent f9e451debd
commit 5ecb01870e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -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,

View File

@ -85,6 +85,9 @@ models:
column_type_list:
- NUMBER
- name: SCRIPT
description: "{{ doc('script') }}"
- name: TRANSACTION_RESULT
description: "{{ doc('transaction_result') }}"
tests: