chore: update file permissions to executable across repository
- 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
This commit is contained in:
0
apps/blockchain-node/src/aitbc_chain/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/app.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/app.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/config.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/config.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py.orig
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py.orig
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py.rej
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py.rej
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/agent_wallet_security.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/agent_wallet_security.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/guardian_config_fixed.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/guardian_config_fixed.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/guardian_contract.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/guardian_contract.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/persistent_spending_tracker.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/contracts/persistent_spending_tracker.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/database.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/database.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/gossip/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/gossip/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/gossip/broker.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/gossip/broker.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/gossip/relay.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/gossip/relay.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/logger.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/logger.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/main.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/main.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/mempool.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/mempool.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/metrics.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/metrics.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/models.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/models.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/observability/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/observability/__init__.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/observability/dashboards.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/observability/dashboards.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/observability/exporters.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/observability/exporters.py
Normal file → Executable file
2
apps/blockchain-node/src/aitbc_chain/rpc/router.py
Normal file → Executable file
2
apps/blockchain-node/src/aitbc_chain/rpc/router.py
Normal file → Executable file
@@ -300,7 +300,7 @@ async def get_receipts(limit: int = 20, offset: int = 0) -> Dict[str, Any]:
|
||||
|
||||
|
||||
@router.get("/getBalance/{address}", summary="Get account balance")
|
||||
async def get_balance(address: str) -> Dict[str, Any]:
|
||||
async def get_balance(address: str, chain_id: str = "ait-devnet") -> Dict[str, Any]:
|
||||
metrics_registry.increment("rpc_get_balance_total")
|
||||
start = time.perf_counter()
|
||||
with session_scope() as session:
|
||||
|
||||
0
apps/blockchain-node/src/aitbc_chain/rpc/websocket.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/rpc/websocket.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/sync.py
Normal file → Executable file
0
apps/blockchain-node/src/aitbc_chain/sync.py
Normal file → Executable file
Reference in New Issue
Block a user