-
Notifications
You must be signed in to change notification settings - Fork 0
/
squid.yaml
114 lines (114 loc) · 3.46 KB
/
squid.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
manifestVersion: subsquid.io/v0.1
name: origin-squid
version: 999
description: 'Origin Protocol 🦑'
build:
deploy:
env:
TS_NODE_BASEURL: './lib'
# DEBUG_PERF: 'true'
addons:
postgres:
rpc:
- eth.http
- arbitrum-one.http
- base.http
secrets:
- RPC_ENDPOINT
- RPC_ENV
processor:
########## MAIN NETWORK ##########
- name: mainnet-processor
cmd: ['sqd', 'process:mainnet:prod']
# env:
# ### Fork Setup Stage 1
# # ARCHIVE_ONLY: 'true'
# # BLOCK_TO: 20933071
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_ENV: RPC_ENDPOINT
# # RPC_ENDPOINT: https://virtual.mainnet.rpc.tenderly.co/b943b56f-ef60-434a-9d70-4d8011fd1baa
# ### Time Travel Fix
# # BLOCK_FROM: 20919091
- name: oeth-processor
cmd: ['sqd', 'process:oeth:prod']
# env:
# ### Fork Setup Stage 1
# # ARCHIVE_ONLY: 'true'
# # BLOCK_TO: 20933071
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_ENV: RPC_ENDPOINT
# # RPC_ENDPOINT: https://virtual.mainnet.rpc.tenderly.co/b943b56f-ef60-434a-9d70-4d8011fd1baa
# ### Time Travel Fix
# # BLOCK_FROM: 20919091
- name: ogv-processor
cmd: ['sqd', 'process:ogv:prod']
# env:
# ### Fork Setup Stage 1
# # ARCHIVE_ONLY: 'true'
# # BLOCK_TO: 20933071
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_ENV: RPC_ENDPOINT
# # RPC_ENDPOINT: https://virtual.mainnet.rpc.tenderly.co/b943b56f-ef60-434a-9d70-4d8011fd1baa
# ### Time Travel Fix
# # BLOCK_FROM: 20919091
- name: ousd-processor
cmd: ['sqd', 'process:ousd:prod']
# env:
# ### Fork Setup Stage 1
# # ARCHIVE_ONLY: 'true'
# # BLOCK_TO: 20933071
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_ENV: RPC_ENDPOINT
# # RPC_ENDPOINT: https://virtual.mainnet.rpc.tenderly.co/b943b56f-ef60-434a-9d70-4d8011fd1baa
# ### Time Travel Fix
# # BLOCK_FROM: 20919091
########## ARBITRUM NETWORK ##########
- name: arbitrum-processor
cmd: ['sqd', 'process:arbitrum:prod']
# env:
# ### Fork Setup Stage 1
# # ARCHIVE_ONLY: 'true'
# # BLOCK_TO: 20919091
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_ARBITRUM_ENV: RPC_ARBITRUM_ENDPOINT
# # RPC_ARBITRUM_ENDPOINT: https://virtual.mainnet.rpc.tenderly.co/4fc58260-a74c-4d0f-bdca-77e1bbb1e86c
# ### Time Travel Fix
# # BLOCK_FROM: 20919091
########## BASE NETWORK ##########
- name: base-processor
cmd: ['sqd', 'process:base:prod']
# env:
# ### Fork Setup Stage 1
# ARCHIVE_ONLY: 'true'
# BLOCK_TO: 21527081
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_BASE_ENV: RPC_BASE_ENDPOINT
# # RPC_BASE_ENDPOINT: https://virtual.base.rpc.tenderly.co/103020a8-b59a-4d51-9f8b-b156564e9fb8
# ### Time Travel Fix
# # BLOCK_FROM: 20919091
api:
cmd:
- npx
- squid-graphql-server
- '--dumb-cache'
- in-memory
- '--dumb-cache-ttl'
- '1000'
- '--dumb-cache-size'
- '100'
- '--dumb-cache-max-age'
- '1000'
- '--max-response-size'
- '1000000'
scale:
dedicated: true
addons:
postgres:
storage: 30G
profile: medium