Regenerate sushiswap-v2 watcher
This commit is contained in:
parent
5712418fae
commit
701a8b4bfe
0
packages/v2-watcher/.husky/pre-commit
Normal file → Executable file
0
packages/v2-watcher/.husky/pre-commit
Normal file → Executable file
@ -2,7 +2,7 @@
|
||||
|
||||
## Source
|
||||
|
||||
* Subgraph: [sushiswap-subgraphs v0.1.1-watcher](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher)
|
||||
* Subgraph: [sushiswap-subgraphs v0.1.1-watcher-0.1.1](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher-0.1.1)
|
||||
|
||||
## Setup
|
||||
|
||||
|
@ -64,7 +64,6 @@
|
||||
|
||||
[upstream]
|
||||
[upstream.ethServer]
|
||||
# gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
||||
rpcProviderEndpoints = [
|
||||
"http://127.0.0.1:8081"
|
||||
]
|
||||
@ -93,6 +92,9 @@
|
||||
subgraphEventsOrder = true
|
||||
blockDelayInMilliSecs = 2000
|
||||
|
||||
# Number of blocks by which block processing lags behind head
|
||||
blockProcessingOffset = 16
|
||||
|
||||
# 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).
|
||||
|
@ -39,11 +39,11 @@
|
||||
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.3.19",
|
||||
"@cerc-io/cli": "^0.2.93",
|
||||
"@cerc-io/ipld-eth-client": "^0.2.93",
|
||||
"@cerc-io/solidity-mapper": "^0.2.93",
|
||||
"@cerc-io/util": "^0.2.93",
|
||||
"@cerc-io/graph-node": "^0.2.93",
|
||||
"@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",
|
||||
"@cerc-io/graph-node": "^0.2.97",
|
||||
"@ethersproject/providers": "^5.4.4",
|
||||
"debug": "^4.3.1",
|
||||
"decimal.js": "^10.3.1",
|
||||
|
@ -81,6 +81,8 @@ const executeAndRecordMetrics = async (
|
||||
apiKey: expressContext.req.header('x-api-key'),
|
||||
origin: expressContext.req.headers.origin
|
||||
});
|
||||
|
||||
throw error;
|
||||
} finally {
|
||||
endTimer();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user