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:
oib
2026-03-06 22:17:54 +01:00
parent bb5363bebc
commit 15427c96c0
1794 changed files with 43849 additions and 530 deletions

0
apps/blockchain-node/.env.example Normal file → Executable file
View File

0
apps/blockchain-node/README.md Normal file → Executable file
View File

0
apps/blockchain-node/alembic.ini Normal file → Executable file
View File

0
apps/blockchain-node/create_genesis.py Normal file → Executable file
View File

0
apps/blockchain-node/data/devnet/genesis.json Normal file → Executable file
View File

0
apps/blockchain-node/docs/SCHEMA.md Normal file → Executable file
View File

0
apps/blockchain-node/init_genesis.py Normal file → Executable file
View File

0
apps/blockchain-node/migrations/README Normal file → Executable file
View File

0
apps/blockchain-node/migrations/env.py Normal file → Executable file
View File

0
apps/blockchain-node/migrations/script.py.mako Normal file → Executable file
View File

View File

View File

0
apps/blockchain-node/observability/README.md Normal file → Executable file
View File

0
apps/blockchain-node/observability/alerts.yml Normal file → Executable file
View File

View File

View File

0
apps/blockchain-node/observability/prometheus.yml Normal file → Executable file
View File

0
apps/blockchain-node/poetry.lock generated Normal file → Executable file
View File

0
apps/blockchain-node/pyproject.toml Normal file → Executable file
View File

0
apps/blockchain-node/requirements.txt Normal file → Executable file
View File

View File

0
apps/blockchain-node/scripts/assign_proposer.py Normal file → Executable file
View File

View File

0
apps/blockchain-node/scripts/keygen.py Normal file → Executable file
View File

0
apps/blockchain-node/scripts/load_genesis.py Normal file → Executable file
View File

0
apps/blockchain-node/scripts/make_genesis.py Normal file → Executable file
View File

0
apps/blockchain-node/scripts/mock_coordinator.py Normal file → Executable file
View File

0
apps/blockchain-node/scripts/start_mock_blockchain.sh Normal file → Executable file
View File

0
apps/blockchain-node/scripts/ws_load_test.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/__init__.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/app.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/config.py Normal file → Executable file
View File

View File

0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py Normal file → Executable file
View File

View File

View File

View File

0
apps/blockchain-node/src/aitbc_chain/database.py Normal file → Executable file
View File

View File

0
apps/blockchain-node/src/aitbc_chain/gossip/broker.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/gossip/relay.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/logger.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/main.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/mempool.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/metrics.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/models.py Normal file → Executable file
View File

View File

View File

View File

2
apps/blockchain-node/src/aitbc_chain/rpc/router.py Normal file → Executable file
View 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
View File

0
apps/blockchain-node/src/aitbc_chain/sync.py Normal file → Executable file
View File

0
apps/blockchain-node/tests/conftest.py Normal file → Executable file
View File

0
apps/blockchain-node/tests/test_gossip_broadcast.py Normal file → Executable file
View File

0
apps/blockchain-node/tests/test_mempool.py Normal file → Executable file
View File

0
apps/blockchain-node/tests/test_models.py Normal file → Executable file
View File

View File

0
apps/blockchain-node/tests/test_sync.py Normal file → Executable file
View File

0
apps/blockchain-node/tests/test_websocket.py Normal file → Executable file
View File