Skip to content

Commit c3aee85

Browse files
committed
fixup! fixup! fixup! fixup! fixup! testing workaround
1 parent 1229ae0 commit c3aee85

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ appchain:
2828
sleep 5; \
2929
done
3030
@for i in {1. .5}; do \
31-
curl http://127.0.0.1:9945; \
31+
curl -X POST http://127.0.0.1:9945 -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"starknet_V0_8_0_chainId","params":[]}'; \
3232
sleep 5; \
3333
done
3434
@echo "Waiting for Bootstrapper L2 container to finish..."

deps/compose.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ services:
117117
condition: service_completed_successfully
118118
entrypoint: [ "bash", "-c", "
119119
apt-get update && apt-get install -y curl;
120-
curl http://madara:9945;
120+
curl -X POST http://madara:9945 -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"starknet_V0_8_0_chainId","params":[]}';
121121
echo 'Checking init script...';
122122
ls -l /init.js || echo 'File not found';
123123
cat /init.js || echo 'Cannot read file';

0 commit comments

Comments
 (0)