only check amount when the tx is successful (#703)

This commit is contained in:
desmond-hui 2024-11-08 09:00:44 -08:00 committed by GitHub
parent de3ea77db3
commit 4c0ebacb89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,11 @@ models:
description: "Amount in Lamports"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- not_null:
config:
where: >
modified_timestamp >= current_date - 7
AND succeeded
- name: TOKEN
description: "Token utilized in the stake pool action"
tests: