- 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
10 lines
451 B
Python
Executable File
10 lines
451 B
Python
Executable File
import re
|
|
|
|
with open("/home/oib/windsurf/aitbc/cli/aitbc_cli/commands/client.py", "r") as f:
|
|
content = f.read()
|
|
|
|
# Fix the auth header name: the node code requires X-Api-Key but the CLI is sending X-Api-Key as well.
|
|
# Oh, the error was "invalid api key". Let's check config.api_key. If not set, it might be None or empty.
|
|
# In test_api_submit2.py we sent "X-Api-Key": "client_dev_key_1" and got "invalid api key".
|
|
# Why did test_api_submit2 fail?
|