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/.env.example
Normal file → Executable file
0
apps/blockchain-node/.env.example
Normal file → Executable file
0
apps/blockchain-node/README.md
Normal file → Executable file
0
apps/blockchain-node/README.md
Normal file → Executable file
0
apps/blockchain-node/alembic.ini
Normal file → Executable file
0
apps/blockchain-node/alembic.ini
Normal file → Executable file
0
apps/blockchain-node/create_genesis.py
Normal file → Executable file
0
apps/blockchain-node/create_genesis.py
Normal file → Executable file
0
apps/blockchain-node/data/devnet/genesis.json
Normal file → Executable file
0
apps/blockchain-node/data/devnet/genesis.json
Normal file → Executable file
0
apps/blockchain-node/docs/SCHEMA.md
Normal file → Executable file
0
apps/blockchain-node/docs/SCHEMA.md
Normal file → Executable file
0
apps/blockchain-node/init_genesis.py
Normal file → Executable file
0
apps/blockchain-node/init_genesis.py
Normal file → Executable file
0
apps/blockchain-node/migrations/README
Normal file → Executable file
0
apps/blockchain-node/migrations/README
Normal file → Executable file
0
apps/blockchain-node/migrations/env.py
Normal file → Executable file
0
apps/blockchain-node/migrations/env.py
Normal file → Executable file
0
apps/blockchain-node/migrations/script.py.mako
Normal file → Executable file
0
apps/blockchain-node/migrations/script.py.mako
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/50fb6691025c_add_chain_id.py
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/50fb6691025c_add_chain_id.py
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/80bc0020bde2_add_block_relationships.py
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/80bc0020bde2_add_block_relationships.py
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/e31f486f1484_baseline.py
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/e31f486f1484_baseline.py
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/fix_transaction_block_foreign_key.py
Normal file → Executable file
0
apps/blockchain-node/migrations/versions/fix_transaction_block_foreign_key.py
Normal file → Executable file
0
apps/blockchain-node/observability/README.md
Normal file → Executable file
0
apps/blockchain-node/observability/README.md
Normal file → Executable file
0
apps/blockchain-node/observability/alerts.yml
Normal file → Executable file
0
apps/blockchain-node/observability/alerts.yml
Normal file → Executable file
0
apps/blockchain-node/observability/generated_dashboards/blockchain-node-overview.json
Normal file → Executable file
0
apps/blockchain-node/observability/generated_dashboards/blockchain-node-overview.json
Normal file → Executable file
0
apps/blockchain-node/observability/generated_dashboards/coordinator-overview.json
Normal file → Executable file
0
apps/blockchain-node/observability/generated_dashboards/coordinator-overview.json
Normal file → Executable file
0
apps/blockchain-node/observability/gossip-recording-rules.yml
Normal file → Executable file
0
apps/blockchain-node/observability/gossip-recording-rules.yml
Normal file → Executable file
0
apps/blockchain-node/observability/grafana-dashboard.json
Normal file → Executable file
0
apps/blockchain-node/observability/grafana-dashboard.json
Normal file → Executable file
0
apps/blockchain-node/observability/prometheus.yml
Normal file → Executable file
0
apps/blockchain-node/observability/prometheus.yml
Normal file → Executable file
0
apps/blockchain-node/poetry.lock
generated
Normal file → Executable file
0
apps/blockchain-node/poetry.lock
generated
Normal file → Executable file
0
apps/blockchain-node/pyproject.toml
Normal file → Executable file
0
apps/blockchain-node/pyproject.toml
Normal file → Executable file
0
apps/blockchain-node/requirements.txt
Normal file → Executable file
0
apps/blockchain-node/requirements.txt
Normal file → Executable file
0
apps/blockchain-node/scripts/apply_bootstrap_genesis.sh
Normal file → Executable file
0
apps/blockchain-node/scripts/apply_bootstrap_genesis.sh
Normal file → Executable file
0
apps/blockchain-node/scripts/assign_proposer.py
Normal file → Executable file
0
apps/blockchain-node/scripts/assign_proposer.py
Normal file → Executable file
0
apps/blockchain-node/scripts/create_bootstrap_genesis.py
Normal file → Executable file
0
apps/blockchain-node/scripts/create_bootstrap_genesis.py
Normal file → Executable file
0
apps/blockchain-node/scripts/keygen.py
Normal file → Executable file
0
apps/blockchain-node/scripts/keygen.py
Normal file → Executable file
0
apps/blockchain-node/scripts/load_genesis.py
Normal file → Executable file
0
apps/blockchain-node/scripts/load_genesis.py
Normal file → Executable file
0
apps/blockchain-node/scripts/make_genesis.py
Normal file → Executable file
0
apps/blockchain-node/scripts/make_genesis.py
Normal file → Executable file
0
apps/blockchain-node/scripts/mock_coordinator.py
Normal file → Executable file
0
apps/blockchain-node/scripts/mock_coordinator.py
Normal file → Executable file
0
apps/blockchain-node/scripts/start_mock_blockchain.sh
Normal file → Executable file
0
apps/blockchain-node/scripts/start_mock_blockchain.sh
Normal file → Executable file
0
apps/blockchain-node/scripts/ws_load_test.py
Normal file → Executable file
0
apps/blockchain-node/scripts/ws_load_test.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/__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
0
apps/blockchain-node/tests/conftest.py
Normal file → Executable file
0
apps/blockchain-node/tests/conftest.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_gossip_broadcast.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_gossip_broadcast.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_mempool.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_mempool.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_models.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_models.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_observability_dashboards.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_observability_dashboards.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_sync.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_sync.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_websocket.py
Normal file → Executable file
0
apps/blockchain-node/tests/test_websocket.py
Normal file → Executable file
Reference in New Issue
Block a user