File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -260,11 +260,26 @@ source local-network/.env
260260docker build -t local-gateway:latest ./local-network/gateway
261261
262262echo " Running gateway container..."
263- # Updated to use the horizon file structure
263+ # Verify required files exist before starting gateway
264+ if [ ! -f " local-network/horizon.json" ]; then
265+ echo " ERROR: local-network/horizon.json not found!"
266+ exit 1
267+ fi
268+ if [ ! -f " local-network/tap-contracts.json" ]; then
269+ echo " ERROR: local-network/tap-contracts.json not found!"
270+ exit 1
271+ fi
272+ if [ ! -f " local-network/subgraph-service.json" ]; then
273+ echo " ERROR: local-network/subgraph-service.json not found!"
274+ exit 1
275+ fi
276+
277+ # Updated to use the horizon file structure and include tap-contracts.json
264278docker run -d --name gateway \
265279 --network local-network_default \
266280 -p 7700:7700 \
267281 -v " $( pwd) /local-network/horizon.json" :/opt/horizon.json:ro \
282+ -v " $( pwd) /local-network/tap-contracts.json" :/opt/tap-contracts.json:ro \
268283 -v " $( pwd) /local-network/subgraph-service.json" :/opt/subgraph-service.json:ro \
269284 -v " $( pwd) /local-network/.env" :/opt/.env:ro \
270285 -e RUST_LOG=info,graph_gateway=trace \
You can’t perform that action at this time.
0 commit comments