- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
13 lines
501 B
Python
Executable File
13 lines
501 B
Python
Executable File
with open("/home/oib/windsurf/aitbc/cli/aitbc_cli/core/node_client.py", "r") as f:
|
|
lines = f.readlines()
|
|
|
|
# Indentation of async def get_chain_info
|
|
# Let's just fix it completely manually.
|
|
for i, line in enumerate(lines):
|
|
if line.startswith(" async def get_chain_info"):
|
|
lines[i] = " async def get_chain_info(self, chain_id: str) -> Optional[ChainInfo]:\n"
|
|
break
|
|
|
|
with open("/home/oib/windsurf/aitbc/cli/aitbc_cli/core/node_client.py", "w") as f:
|
|
f.writelines(lines)
|