-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsquid.yaml
More file actions
167 lines (167 loc) · 5.2 KB
/
squid.yaml
File metadata and controls
167 lines (167 loc) · 5.2 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
manifestVersion: subsquid.io/v0.1
name: origin-squid
version: 999
description: 'Origin Protocol 🦑'
build:
deploy:
env:
TS_NODE_BASEURL: './lib'
IGNORE_VALIDATION: 'true'
# DEBUG_PERF: 'true'
addons:
postgres:
rpc:
- eth.http
- arbitrum-one.http
- base.http
- sonic-mainnet.http
secrets:
- RPC_ENDPOINT
- RPC_ENV
- RPC_BASE_ENDPOINT
- RPC_BASE_ENV
- RPC_ARBITRUM_ENDPOINT
- RPC_ARBITRUM_ENV
- RPC_SONIC_ENDPOINT
- RPC_SONIC_ENV
- NOTION_SECRET
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
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
########## Super OETHb - BASE NETWORK ##########
- name: oethb-processor
cmd: ['sqd', 'process:oethb: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
########## SONIC NETWORK ##########
- name: sonic-processor
cmd: ['sqd', 'process:sonic:prod']
# env:
# ### Fork Setup Stage 1
# ARCHIVE_ONLY: 'true'
# BLOCK_TO: 21527081
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_SONIC_ENV: RPC_SONIC_ENDPOINT
# # RPC_SONIC_ENDPOINT: https://virtual.base.rpc.tenderly.co/103020a8-b59a-4d51-9f8b-b156564e9fb8
# ### Time Travel Fix
# # BLOCK_FROM: 20919091
- name: os-processor
cmd: ['sqd', 'process:os:prod']
# env:
# ### Fork Setup Stage 1
# ARCHIVE_ONLY: 'true'
# BLOCK_TO: 21527081
# ### Fork Setup Stage 2
# # DISABLE_ARCHIVE: 'true'
# # RPC_SONIC_ENV: RPC_SONIC_ENDPOINT
# # RPC_SONIC_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: 100G
profile: xlarge
processor:
profile: medium
api:
profile: medium