diff --git a/scripts/wrappers/aitbc-blockchain-node-wrapper.py b/scripts/wrappers/aitbc-blockchain-node-wrapper.py index 93c35a23..5c112f52 100755 --- a/scripts/wrappers/aitbc-blockchain-node-wrapper.py +++ b/scripts/wrappers/aitbc-blockchain-node-wrapper.py @@ -21,12 +21,8 @@ os.environ["PYTHONPATH"] = f"{REPO_DIR}/apps/blockchain-node/src" os.environ["DATA_DIR"] = str(DATA_DIR) os.environ["LOG_DIR"] = str(LOG_DIR) -# Force disable block production in combined_main to prevent event loop blocking -# The combined_main runs both node logic and HTTP RPC server in the same process -# Block production in the RPC process can cause timeouts during transaction submission -os.environ["AITBC_FORCE_ENABLE_BLOCK_PRODUCTION"] = "true" -os.environ["ENABLE_BLOCK_PRODUCTION"] = "true" -os.environ["enable_block_production"] = "true" +# Block production is controlled by env file settings (enable_block_production) +# The proposer runs in the event loop without blocking - no force-enable needed # Execute the actual service # Use combined_main to run both blockchain node and HTTP RPC server