mirror of
https://github.com/FlipsideCrypto/eclipse-models.git
synced 2026-02-06 13:07:01 +00:00
update node source (#56)
* update node source * update 2 pipeline starting block
This commit is contained in:
parent
d232ff5d27
commit
5d432c28f6
@ -49,7 +49,7 @@ SELECT
|
||||
) :: INT AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}',
|
||||
'{Service}/token/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
@ -76,7 +76,7 @@ SELECT
|
||||
)
|
||||
)
|
||||
),
|
||||
'Vault/prod/eclipse/mainnet'
|
||||
'Vault/prod/eclipse/private/mainnet'
|
||||
) AS request
|
||||
FROM
|
||||
blocks
|
||||
|
||||
@ -34,14 +34,14 @@ WITH blocks AS (
|
||||
FROM
|
||||
{{ ref("streamline__blocks") }}
|
||||
WHERE
|
||||
block_id >= 52500858
|
||||
block_id >= 54084999
|
||||
EXCEPT
|
||||
SELECT
|
||||
block_id
|
||||
FROM
|
||||
{{ ref('streamline__block_txs_complete') }}
|
||||
WHERE
|
||||
block_id <= 52500858
|
||||
block_id <= 54084999
|
||||
EXCEPT
|
||||
SELECT
|
||||
block_id
|
||||
@ -56,7 +56,7 @@ SELECT
|
||||
) :: INT AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}',
|
||||
'{Service}/token/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
@ -83,7 +83,7 @@ SELECT
|
||||
)
|
||||
)
|
||||
),
|
||||
'Vault/prod/eclipse/mainnet'
|
||||
'Vault/prod/eclipse/private/mainnet'
|
||||
) AS request
|
||||
FROM
|
||||
blocks
|
||||
|
||||
@ -47,7 +47,7 @@ SELECT
|
||||
) :: INT AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}',
|
||||
'{Service}/token/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
@ -74,7 +74,7 @@ SELECT
|
||||
)
|
||||
)
|
||||
),
|
||||
'Vault/prod/eclipse/mainnet'
|
||||
'Vault/prod/eclipse/private/mainnet'
|
||||
) AS request
|
||||
FROM
|
||||
blocks
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
SELECT
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}',
|
||||
'{Service}/token/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json',
|
||||
@ -23,5 +23,5 @@ SELECT
|
||||
'params',
|
||||
[]
|
||||
),
|
||||
'Vault/prod/eclipse/mainnet'
|
||||
'Vault/prod/eclipse/private/mainnet'
|
||||
) :data :result :: INT - 50 AS block_id
|
||||
|
||||
@ -9,7 +9,7 @@ WITH node_response AS (
|
||||
SELECT
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}',
|
||||
'{Service}/token/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
@ -36,7 +36,7 @@ WITH node_response AS (
|
||||
)
|
||||
)
|
||||
),
|
||||
'Vault/prod/eclipse/mainnet'
|
||||
'Vault/prod/eclipse/private/mainnet'
|
||||
) AS DATA
|
||||
)
|
||||
SELECT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user