From f54f50880500d822eb2639c06b8e05bbbf892192 Mon Sep 17 00:00:00 2001 From: aitbc Date: Wed, 20 May 2026 09:55:09 +0200 Subject: [PATCH] fix: use memory mempool backend to avoid PostgreSQL dependency - Remove psycopg2 from dependencies (compilation requires pg_config.h) - Set default MEMPOOL_BACKEND=memory to avoid PostgreSQL - Fix build error: fatal error: pg_config.h: No such file or directory --- scripts/deployment/deploy-integrated-blockchain-node.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deployment/deploy-integrated-blockchain-node.sh b/scripts/deployment/deploy-integrated-blockchain-node.sh index 0950b215..5366735e 100755 --- a/scripts/deployment/deploy-integrated-blockchain-node.sh +++ b/scripts/deployment/deploy-integrated-blockchain-node.sh @@ -96,7 +96,7 @@ setup_python_environment() { # Install essential blockchain-node dependencies log_info "Installing essential dependencies" - pip install pydantic pydantic-settings fastapi uvicorn sqlalchemy sqlmodel psycopg2-binary psycopg2 aiosqlite httpx redis prometheus-client alembic + pip install pydantic pydantic-settings fastapi uvicorn sqlalchemy sqlmodel psycopg2-binary aiosqlite httpx redis prometheus-client alembic # Install blockchain-node package in editable mode if [ -f "apps/blockchain-node/pyproject.toml" ]; then @@ -148,6 +148,7 @@ P2P_BIND_PORT=8001 ENABLE_BLOCK_PRODUCTION=false GOSSIP_BROADCAST_URL=redis://127.0.0.1:6379 CROSS_SITE_REMOTE_ENDPOINTS= +MEMPOOL_BACKEND=memory EOF chmod 600 "$ENV_FILE" log_info "Created $ENV_FILE"