Replies: 1 comment 1 reply
-
|
A few thoughts:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I have an integration like so... integration.json
{ "name": "send_account_transfers", "enabled": true, "table": { "name": "send_account_transfers", "columns": [ { "name": "chain_id", "type": "numeric" }, { "name": "log_addr", "type": "bytea" }, { "name": "block_time", "type": "numeric" }, { "name": "tx_hash", "type": "bytea" }, { "name": "f", "type": "bytea" }, { "name": "t", "type": "bytea" }, { "name": "v", "type": "numeric" } ] }, "block": [ { "name": "chain_id", "column": "chain_id" }, { "name": "block_time", "column": "block_time" }, { "name": "tx_hash", "column": "tx_hash" }, { "name": "log_addr", "column": "log_addr" } ], "event": { "type": "event", "name": "Transfer", "anonymous": false, "inputs": [ { "indexed": true, "name": "from", "type": "address", "column": "f", "filter_op": "contains", "filter_ref": { "integration": "send_account_created", "column": "account" } }, { "indexed": true, "name": "to", "type": "address", "column": "t", "filter_op": "contains", "filter_ref": { "integration": "send_account_created", "column": "account" } }, { "indexed": false, "name": "value", "type": "uint256", "column": "v" } ] }, "sources": [ { "name": "base_logs", "start": "$BASE_BLOCK_START" } ] }Currently there are about 2,983 send accounts created.
If I set the batch size to something like 2,000, shovel is basically unable to converge (I only waited 2 minutes). Reducing the batch size and it finally does converge but takes around 30 seconds. Is there a strategy to mitigate this?
As a workaround in order to not index data we don't care about, we periodically drop the erc20 transfers without a send account.
Beta Was this translation helpful? Give feedback.
All reactions