Add a config option for block processing offset (#520)

* Add config option for block processing offset

* Upgrade package versions
This commit is contained in:
prathamesh0
2024-06-10 15:09:33 +05:30
committed by GitHub
parent 52082fc874
commit acf69dd554
16 changed files with 43 additions and 37 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@cerc-io/codegen",
"version": "0.2.96",
"version": "0.2.97",
"description": "Code generator",
"private": true,
"main": "index.js",
@@ -20,7 +20,7 @@
},
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
"dependencies": {
"@cerc-io/util": "^0.2.96",
"@cerc-io/util": "^0.2.97",
"@graphql-tools/load-files": "^6.5.2",
"@npmcli/package-json": "^5.0.0",
"@poanet/solidity-flattener": "https://github.com/vulcanize/solidity-flattener.git",
@@ -97,6 +97,9 @@
subgraphEventsOrder = true
blockDelayInMilliSecs = 2000
# Number of blocks by which block processing lags behind head
blockProcessingOffset = 0
# Boolean to switch between modes of processing events when starting the server.
# Setting to true will fetch filtered events and required blocks in a range of blocks and then process them.
# Setting to false will fetch blocks consecutively with its events and then process them (Behaviour is followed in realtime processing near head).
@@ -41,12 +41,12 @@
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
"dependencies": {
"@apollo/client": "^3.3.19",
"@cerc-io/cli": "^0.2.96",
"@cerc-io/ipld-eth-client": "^0.2.96",
"@cerc-io/solidity-mapper": "^0.2.96",
"@cerc-io/util": "^0.2.96",
"@cerc-io/cli": "^0.2.97",
"@cerc-io/ipld-eth-client": "^0.2.97",
"@cerc-io/solidity-mapper": "^0.2.97",
"@cerc-io/util": "^0.2.97",
{{#if (subgraphPath)}}
"@cerc-io/graph-node": "^0.2.96",
"@cerc-io/graph-node": "^0.2.97",
{{/if}}
"@ethersproject/providers": "^5.4.4",
"debug": "^4.3.1",