chore(cleanup): remove obsolete scripts and update paths for production deployment
- Remove dev/scripts/check-file-organization.sh (obsolete organization checker) - Remove dev/scripts/community_onboarding.py (unused 559-line automation script) - Update gpu_miner_host.py log path from /home/oib/windsurf/aitbc to /opt/aitbc - Add service status and standardization badges to README.md
This commit is contained in:
25
dev/scripts/patches/patch_config_final.py
Normal file
25
dev/scripts/patches/patch_config_final.py
Normal file
@@ -0,0 +1,25 @@
|
||||
with open("/home/oib/windsurf/aitbc/apps/blockchain-node/src/aitbc_chain/config.py", "r") as f:
|
||||
content = f.read()
|
||||
|
||||
content = content.replace(
|
||||
"""class ChainSettings(BaseSettings):""",
|
||||
"""from pydantic import BaseModel
|
||||
|
||||
class ProposerConfig(BaseModel):
|
||||
chain_id: str
|
||||
proposer_id: str
|
||||
interval_seconds: int
|
||||
max_block_size_bytes: int
|
||||
max_txs_per_block: int
|
||||
|
||||
class ChainSettings(BaseSettings):"""
|
||||
)
|
||||
|
||||
content = content.replace(
|
||||
""" chain_id: str = "ait-devnet\"""",
|
||||
""" chain_id: str = "ait-devnet"
|
||||
supported_chains: str = "ait-devnet" # Comma-separated list of supported chain IDs"""
|
||||
)
|
||||
|
||||
with open("/home/oib/windsurf/aitbc/apps/blockchain-node/src/aitbc_chain/config.py", "w") as f:
|
||||
f.write(content)
|
||||
Reference in New Issue
Block a user