mirror of
https://github.com/FlipsideCrypto/eclipse-models.git
synced 2026-02-06 17:26:49 +00:00
Enable block backfill (#27)
* swap min block available node * allow blocks to backfill first before we attempt txs --------- Co-authored-by: desmond-hui <desmond@flipsidecryto.com>
This commit is contained in:
parent
43b863ae72
commit
94e2f7b643
@ -29,7 +29,7 @@ WITH blocks AS (
|
||||
{{ ref("streamline__blocks") }}
|
||||
WHERE
|
||||
/* Find the earliest block available from the node provider */
|
||||
block_id >= {{ min_block_id }}
|
||||
block_id >= 6572203
|
||||
EXCEPT
|
||||
SELECT
|
||||
block_id
|
||||
|
||||
@ -9,7 +9,7 @@ WITH node_response AS (
|
||||
SELECT
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'https://mainnetbeta-rpc.eclipse.xyz',
|
||||
'https://eclipse.lgns.net:443',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user