File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
legacy/creator-subgraph/scripts Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 3131fi
3232
3333
34- function getSubgraphQueryPath() {
35- network=$1
36- echo " "
37- }
38-
3934function getDeploymentBlock() {
4035 response=$( curl -sS $1 -X POST -H ' Accept: application/json' -H ' content-type: application/json' --data-raw ' {"query":"{\n _meta{\n block {\n number\n }\n deployment\n }\n}"}' )
4136 echo $response | jq ' .data._meta.block.number' -r
@@ -56,7 +51,6 @@ for element in ${networkfiles[@]}
5651do
5752 filename=$( basename $element )
5853 network=" ${filename% .* } "
59- base=$( getSubgraphQueryPath $network )
6054 # newjson=""
6155 graft_flags=" "
6256 if [[ -n $fromcontract ]]; then
7468 # echo "$newjson" > ./config/$network.json
7569 cat ./config/$network .yaml
7670 NETWORK=$network pnpm run build
77- echo " Skipping deploy: subgraph deploy integration removed"
7871done
You can’t perform that action at this time.
0 commit comments