mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 11:06:45 +00:00
tweaks (#107)
This commit is contained in:
parent
3068287973
commit
47e679b9d8
@ -6,4 +6,5 @@ A.475755d2c9dccc3a.TeleportedSportiumToken,Ethereum
|
||||
A.bd7e596b12e277df.TeleportCustody,Ethereum
|
||||
A.c2fa71c36fd5b840.TeleportCustodyBSC,BSC
|
||||
A.cfdd90d4a00f7b5b.TeleportedTetherToken,Ethereum
|
||||
A.aad831d03d67904c.TeleportCustodyEthereum,Ethereum
|
||||
A.aad831d03d67904c.TeleportCustodyEthereum,Ethereum
|
||||
A.714000cf4dd1c4ed.TeleportCustodyAptos,Aptos
|
||||
|
@ -6,6 +6,7 @@
|
||||
592,Astar
|
||||
1030,Conflux
|
||||
1284,Moonbeam
|
||||
2001,Milkomeda C1 (Cardano)
|
||||
2002,Alogrand
|
||||
2222,Kava
|
||||
9001,Evmos
|
||||
|
||||
|
@ -25,3 +25,4 @@ root_height,network_version
|
||||
31735955,mainnet-18
|
||||
35858811,mainnet-19
|
||||
40171634,mainnet-20
|
||||
44950207,mainnet-21
|
||||
|
||||
|
@ -11,6 +11,11 @@ models:
|
||||
- sender
|
||||
- recipient
|
||||
- token_contract
|
||||
- amount
|
||||
config:
|
||||
severity: warn
|
||||
error_if: ">10"
|
||||
|
||||
|
||||
columns:
|
||||
- name: tx_id
|
||||
|
||||
@ -31,7 +31,6 @@ models:
|
||||
description: "{{ doc('pool_id') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: vault_address
|
||||
description: "{{ doc('vault_address') }}"
|
||||
|
||||
@ -50,7 +50,7 @@ def log_test_result():
|
||||
|
||||
def create_message(**kwargs):
|
||||
messageBody = {
|
||||
"text": f"Hey <@U037AH6DS8P>, new DBT test results for :{os.environ.get('DATABASE').split('_DEV')[0]}: {os.environ.get('DATABASE')}",
|
||||
"text": f"Hey{' <@U037AH6DS8P>' if len(kwargs['messages']['fail']) > 0 else ''}, new DBT test results for :{os.environ.get('DATABASE').split('_DEV')[0]}: {os.environ.get('DATABASE')}",
|
||||
"attachments": [
|
||||
{
|
||||
"color": kwargs["color"],
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
{{ config(
|
||||
severity = "error"
|
||||
severity = "warn",
|
||||
error_if = ">100"
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user