-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit d4ddfaf
authored
gnd : Graph Node Dev (#6056)
* Refactor main function (#5980)
* node: Refactor main execution flow and introduce launcher module
* node/launcher: extract setup_configuration helper from run
* node/launcher: extract setup_metrics helper from run
* node/launcher: extract setup_store helper from run
* node/launcher: extract build_blockchain_map helper from run
* node/launcher: extract cleanup_ethereum_shallow_blocks helper from run
* node/launcher: extract spawn_block_ingestor helper from run
* node/launcher: extract deploy_subgraph_from_flag helper from run
* node/launcher: extract spawn_contention_checker helper from run
* node/launcher: extract build_graphql_server helper from run
* node/launcher: extract build_subgraph_registrar helper from run
* Implement a File Link Resolver (#5981)
* graph: Add a new FIleLinkResolver
* graph: remove `/ipfs/` prefix when using file link resolver
* graph: Implement custom deserialise logic for Link to enable file link resolver
* tests: Add runner test that uses file link resolver
* graph: Conditionally disable deployment hash validation based on env var
* graph: use constant for "/ipfs/" prefix in `remove_prefix`
* graph: Simplify resolve_path by removing redundant path.is_absolute() check
* graph: Remove leftover println from file_resolver tests
* tests: Refactor runner tests extract test utils into recipe.rs
* tests: Add a test for file_link_resolver
* Graph node dev mode (#5982)
* node: Create a new binary for graph node dev mode
* graph, store: Add unassign_subgraph method to SubgraphStore
* node: Add helpers for graph node dev for subgraph management
* node: Add helper functions for watching files in dev mode
* node: Wire file watching in dev mode to redeploy subgraphs
* node: fix formatting
* gnd: Support multiple subgraphs, grafting, subgraph composition in dev mode (#6000)
* graph: Add clone_for_deployment to FileLinkResolver to create FileLinkResolver with the right base dir for a subgraph
* graph: Add for_deployment to LinkResolverTrait
* core, graph: use for_deployment to get properly scoped resolver
* graph: Implement aliases for file link resolver
* node: Make gnd work with multiple subgraphs
* node: Support subgraph datasource in gnd
* node: correct the default value for manfiest
* core, node, graph: Ignore graft base in dev mode
* node: Allow providing a postgres url for gnd
* node: Do not use pgtemp in windows
* store: enable `vendored` feature for openssl crate
* chain/ethereum: Return error when ipc is used in non unix platform
* node: Refactor launcher
* node/dev : Better error message when database directory doesn't exist
* node: refactor watcher
* core, node, graph: Manipulate raw manifest instead of passing
ignore_graft_base
This reverts commit b5bbf93.
* node: Correct comments on `redeploy_all_subgraphs`
* node/gnd: Deploy all subgraphs first before wathcing files
* core, graph : Refactor LinkResolver trait
* Workflow to build the gnd binary (#6013)
* .github: Create a workflow for building gnd binaries
* .github: Codesign gnd binary for macOs
* .github: notarize gnd binary for macOs
* gnd: Integration tests (#6035)
* node/gnd: Make ports configurable
* node/gnd: Deploy all subgraphs on startup
* tests: Refactor subgraph datasources in TestCase
* tests: refactor Testcase method for source subgraphs
* tests: Add integration tests for gnd
* store: Use bundled pq-sys
* gnd: remove temp database directory on exit
* gnd: use pgtemp from graphprotocol org
* gnd: add alias for pgtemp db for windows
* gnd: use deep codesigning for macos binaries
* update workflow to add entitlements.plist1 parent 085f281 commit d4ddfaf
File tree
45 files changed
+3077
-810
lines changed- .github/workflows
- chain
- ethereum/src
- substreams/src
- core/src/subgraph
- graph/src
- components
- link_resolver
- store
- subgraph
- data_source
- data/subgraph
- env
- node
- src
- bin
- dev
- manager/commands
- server/json-rpc/src
- store
- postgres
- src
- test-store/tests/chain/ethereum
- tests
- runner-tests/file-link-resolver
- abis
- src
- src
- fixture
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+3077
-810
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 | + | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
117 | + | ||
111 | 118 |
| |
112 | 119 |
| |
113 | 120 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
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 | + | ||
168 | + | ||
169 | + | ||
170 | + | ||
171 | + | ||
172 | + | ||
173 | + | ||
174 | + | ||
175 | + | ||
176 | + | ||
177 | + | ||
178 | + | ||
179 | + | ||
180 | + | ||
181 | + | ||
182 | + | ||
183 | + | ||
184 | + | ||
185 | + | ||
186 | + | ||
187 | + | ||
188 | + | ||
189 | + |
0 commit comments