fix(btcli): trim wallet balance decimals - #3124
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🛡️ AI Review — Skeptic (security review)VERDICT: SAFE HIGH scrutiny by account age, tempered by admin permission and substantial merged history; no Gittensor association found. Branch: fix/wallet-balance-decimals → main. The change is limited to human-readable Python CLI formatting. Exact FindingsNo findings. ConclusionNo malicious behavior or security vulnerability was found in the static diff. 🔍 AI Review — Auditor (domain review)VERDICT: 👍 UNKNOWN Gittensor association; high account-age scrutiny tempered by admin permission and substantial merged contribution history. The implementation consistently limits human wallet-balance output to three decimals while preserving exact
FindingsNo findings. ConclusionThe change is focused, matches its description, and includes a direct formatting regression test. No domain correctness or repository-rule violations were found. |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
Summary
btcli wallet balanceamounts to three decimal places.Balanceformatting and JSON fields unchanged.Verification
uv run --no-sync ruff check bittensor/cli/helpers.py bittensor/cli/commands/wallet.py tests/unit/test_cli.pyuv run --no-sync ruff format --check bittensor/cli/helpers.py bittensor/cli/commands/wallet.py tests/unit/test_cli.pyuv run --no-sync pytest tests/unit/test_cli.py -q(blocked: locked environment is missingqrcode)