adjustments (#85)

This commit is contained in:
Austin 2024-12-12 09:14:21 -05:00 committed by GitHub
parent 7a13acac92
commit 3c9ea6875c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ WITH base AS (
AND modified_timestamp > (
SELECT
COALESCE(
MAX(modified_timestamp),
dateadd('hour', -2, MAX(modified_timestamp)),
'2000-01-01'::TIMESTAMP
)
FROM

View File

@ -4,9 +4,9 @@
func = 'streamline.udf_bulk_rest_api_v2',
target = "{{this.schema}}.{{this.identifier}}",
params ={ "external_table" :"evm_traces",
"sql_limit" :"25000",
"producer_batch_size" :"1000",
"worker_batch_size" :"100",
"sql_limit" :"100000",
"producer_batch_size" :"10",
"worker_batch_size" :"10",
"sql_source" :"{{this.identifier}}",
"exploded_key": tojson(["result"]) }
),
@ -52,7 +52,7 @@ SELECT
'method',
'debug_traceBlockByNumber',
'params',
ARRAY_CONSTRUCT(utils.udf_int_to_hex(block_number), OBJECT_CONSTRUCT('tracer', 'callTracer', 'timeout', '30s'))
ARRAY_CONSTRUCT(utils.udf_int_to_hex(block_number), OBJECT_CONSTRUCT('tracer', 'callTracer', 'timeout', '120s'))
),
'Vault/prod/sei/quicknode/mainnet'
) AS request
@ -60,4 +60,4 @@ FROM
ready_blocks
ORDER BY
block_number asc
limit 25000
limit 100000

View File

@ -90,7 +90,7 @@ SELECT
'method',
'debug_traceBlockByNumber',
'params',
ARRAY_CONSTRUCT(utils.udf_int_to_hex(block_number), OBJECT_CONSTRUCT('tracer', 'callTracer', 'timeout', '30s'))
ARRAY_CONSTRUCT(utils.udf_int_to_hex(block_number), OBJECT_CONSTRUCT('tracer', 'callTracer', 'timeout', '120s'))
),
'Vault/prod/sei/quicknode/mainnet'
) AS request