issues
search
cerc-io
/
watcher-ts
GNU Affero General Public License v3.0
12
stars
3
forks
source link
Prefetch block and txs in historical processing instead of fetching them in events processing
#460
Closed
nikugogoi
closed
10 months ago
nikugogoi
commented
10 months ago
Part of
Block processing optimizations
Use ethersjs
StaticJsonRpcProvider
to avoid
getNetwork
calls
Set gzip to true for network requests in ethersjs
Prefetch required block and txs in historical processing and cache in memory for events processing
TODOs to be fulfilled in follow-on PRs:
Use prefetched block data in subgraph block handler (not configured in sushiswap v3 subgraph)
Part of Block processing optimizations
getNetwork
calls