bin/examine.py; readonly state; debug logs for Underfunded

This commit is contained in:
tim
2025-03-10 14:18:40 -04:00
parent b7ed91d1c0
commit ecf1d21d5f
15 changed files with 200 additions and 50 deletions

15
bin/examine Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
kubectl port-forward postgres-0 5431:5432 &
PF_PID=$!
shutdown () {
kill $PF_PID
wait
}
trap shutdown INT TERM
PYTHONPATH=src python -m dexorder.bin.examine rpc_url=arbitrum_dxod db_url=postgres://dexorder@localhost:5431/dexorder "$@"
shutdown