WIP: update uniswap stack with ipld-eth-server #465

Closed
zramsay wants to merge 2 commits from update-uniswap into main
Member

currently fails like so:

# laconic-so --stack uniswap-v3 deploy up
[+] Running 11/11
 ✔ Network laconic-30b284773ec895b5a4601fcc6bd17780_default                          Cre...                                                            0.1s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uniswap-watcher-db-1           Healthy                                                          53.0s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-ipld-eth-db-1                  Healthy                                                          31.3s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-erc20-watcher-server-1         Healthy                                                          53.0s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-watcher-job-runner-1       Healthy                                                          41.7s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-migrations-1                   Started                                                          31.6s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-ipld-eth-server-1              Healthy                                                          52.1s 
 ✘ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-watcher-server-1           Error                                                           353.8s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-info-watcher-job-runner-1  Created                                                           0.0s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-info-watcher-server-1      Created                                                           0.0s 
 ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uniswap-v3-info-1              Created                                                           0.0s

looking at: # docker logs laconic-30b284773ec895b5a4601fcc6bd17780-uni-watcher-job-runner-1 there's the clue:

2023-07-27T00:35:58.433Z vulcanize:job-runner Starting job runner...
2023-07-27T00:35:58.436Z vulcanize:metrics Metrics exposed at http://0.0.0.0:9000/metrics
2023-07-27T00:36:18.403Z vulcanize:job-queue Processing queue block-processing job 99ee9830-2c15-11ee-9af8-0bb6564ab21d...
2023-07-27T00:36:18.404Z vulcanize:common size:common#fetchBlocksAtHeight-prefetch-_blockAndEventsMap-size: 0
2023-07-27T00:36:18.446Z vulcanize:common common#cache-miss-12369621
time:eth-client#getBlocks-{"blockNumber":12369621}: 87.234ms
time:eth-client#getBlocks-{"blockNumber":12369628}: 70.899ms
time:eth-client#getBlocks-{"blockNumber":12369629}: 80.177ms
time:eth-client#getBlocks-{"blockNumber":12369622}: 97.556ms
time:eth-client#getBlocks-{"blockNumber":12369630}: 84.205ms
time:eth-client#getBlocks-{"blockNumber":12369627}: 95.676ms
time:eth-client#getBlocks-{"blockNumber":12369625}: 99.747ms
time:eth-client#getBlocks-{"blockNumber":12369623}: 107.078ms
time:eth-client#getBlocks-{"blockNumber":12369624}: 106.508ms
time:eth-client#getBlocks-{"blockNumber":12369626}: 103.295ms
time:common#fetchBatchBlocks-getBlocks: 168.341ms
2023-07-27T00:36:18.615Z vulcanize:common No blocks fetched for block number 12369621, retrying after 2000 ms delay.

I think the Optional step in the README is required with the correct heights. There also may be better ways to do this with the latest development of SO.

currently fails like so: ``` # laconic-so --stack uniswap-v3 deploy up [+] Running 11/11 ✔ Network laconic-30b284773ec895b5a4601fcc6bd17780_default Cre... 0.1s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uniswap-watcher-db-1 Healthy 53.0s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-ipld-eth-db-1 Healthy 31.3s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-erc20-watcher-server-1 Healthy 53.0s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-watcher-job-runner-1 Healthy 41.7s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-migrations-1 Started 31.6s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-ipld-eth-server-1 Healthy 52.1s ✘ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-watcher-server-1 Error 353.8s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-info-watcher-job-runner-1 Created 0.0s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uni-info-watcher-server-1 Created 0.0s ✔ Container laconic-30b284773ec895b5a4601fcc6bd17780-uniswap-v3-info-1 Created 0.0s ``` looking at: `# docker logs laconic-30b284773ec895b5a4601fcc6bd17780-uni-watcher-job-runner-1` there's the clue: ``` 2023-07-27T00:35:58.433Z vulcanize:job-runner Starting job runner... 2023-07-27T00:35:58.436Z vulcanize:metrics Metrics exposed at http://0.0.0.0:9000/metrics 2023-07-27T00:36:18.403Z vulcanize:job-queue Processing queue block-processing job 99ee9830-2c15-11ee-9af8-0bb6564ab21d... 2023-07-27T00:36:18.404Z vulcanize:common size:common#fetchBlocksAtHeight-prefetch-_blockAndEventsMap-size: 0 2023-07-27T00:36:18.446Z vulcanize:common common#cache-miss-12369621 time:eth-client#getBlocks-{"blockNumber":12369621}: 87.234ms time:eth-client#getBlocks-{"blockNumber":12369628}: 70.899ms time:eth-client#getBlocks-{"blockNumber":12369629}: 80.177ms time:eth-client#getBlocks-{"blockNumber":12369622}: 97.556ms time:eth-client#getBlocks-{"blockNumber":12369630}: 84.205ms time:eth-client#getBlocks-{"blockNumber":12369627}: 95.676ms time:eth-client#getBlocks-{"blockNumber":12369625}: 99.747ms time:eth-client#getBlocks-{"blockNumber":12369623}: 107.078ms time:eth-client#getBlocks-{"blockNumber":12369624}: 106.508ms time:eth-client#getBlocks-{"blockNumber":12369626}: 103.295ms time:common#fetchBatchBlocks-getBlocks: 168.341ms 2023-07-27T00:36:18.615Z vulcanize:common No blocks fetched for block number 12369621, retrying after 2000 ms delay. ``` I think the `Optional` step in the README is required with the correct heights. There also may be better ways to do this with the latest development of SO.

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#465
No description provided.