Remove debug logging and update default chain to ait-mainnet
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 9s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Successful in 11s
Security Scanning / security-scan (push) Successful in 31s

This commit is contained in:
aitbc
2026-04-22 14:20:49 +02:00
parent 670fff409f
commit 607ad2d434
7 changed files with 402 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ class ChainSettings(BaseSettings):
model_config = SettingsConfigDict(env_file="/etc/aitbc/.env", env_file_encoding="utf-8", case_sensitive=False, extra="ignore")
chain_id: str = ""
supported_chains: str = "ait-devnet" # Comma-separated list of supported chain IDs
supported_chains: str = "ait-mainnet" # Comma-separated list of supported chain IDs
db_path: Path = Path("/var/lib/aitbc/data/chain.db")
rpc_bind_host: str = "0.0.0.0" # nosec B104: intentional for distributed blockchain

View File

@@ -11,6 +11,8 @@ from sqlmodel import Session, select
from ..gossip import gossip_broker
from ..logger import get_logger
from ..state.merkle_patricia_trie import StateManager
logger = get_logger(__name__)
from ..state.state_transition import get_state_transition
from ..config import ProposerConfig
from ..metrics import metrics_registry