- 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
26 lines
751 B
Python
26 lines
751 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(
|
|
"""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)
|