Files
aitbc/dev/scripts/patch_config_supported.py
oib ccedbace53 chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template
- Delete .lycheeignore link checker exclusion rules
- Delete .nvmrc Node.js version specification
- Add advanced search panel with filters for address, amount range, transaction type, time range, and validator
- Add analytics dashboard with transaction volume, active addresses, and block time metrics
- Add Chart.js integration
2026-03-02 15:38:25 +01:00

13 lines
612 B
Python

with open("/home/oib/windsurf/aitbc/apps/blockchain-node/src/aitbc_chain/config.py", "r") as f:
content = f.read()
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"""
)
# And define ProposerConfig in consensus/poa.py instead to avoid circular import or import issues
# Actually, the original code had it in consensus/poa.py, wait...
# In previous version `ProposerConfig` was defined in `consensus/poa.py` and we were trying to import it from `config.py`.