Skip to content

btcli v11 UX, wallet compat, and alpha-fee runtime fixes (combines #3046–#3051) - #3052

Open
unarbos wants to merge 2 commits into
fix/testnet-grandpa-finality-sdk-pinfrom
feat/btcli-combined
Open

btcli v11 UX, wallet compat, and alpha-fee runtime fixes (combines #3046–#3051)#3052
unarbos wants to merge 2 commits into
fix/testnet-grandpa-finality-sdk-pinfrom
feat/btcli-combined

Conversation

@unarbos

@unarbos unarbos commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Combines the six open btcli PRs plus two new fixes into one branch off main. Supersedes #3046, #3047, #3048, #3049, #3050, #3051.

From the six PRs

New in this PR

  • fix(runtime): CheckNonce rejected fee-paying extrinsics from coldkeys holding only transferred alpha (zero providers/sufficients, no free TAO) before the alpha fee fallback could run. Reference-less signers with alpha stake now pass; extension weight accounts for the extra StakingHotkeys read. Adds runtime/tests/alpha_only_coldkey_fees.rs reproducing the reported stake remove failure.
  • fix(sdk): keyfiles regain legacy field parity — Keypair retains its mnemonic/seed so secretPhrase/secretSeed are written again (strict legacy parsers such as Apex's subnet tooling require them). The reader now accepts string cryptoType, self-heals wrong/missing cryptoType via the stored ss58 address, parses pre-JSON raw seeds/mnemonics, and gives an actionable error for polkadot.js / mobile-app exports.

Merge notes

Test plan

  • cargo test -p bittensor-core --lib — 63 passed
  • cargo test -p node-subtensor-runtime --test alpha_only_coldkey_fees and --lib check_nonce — passed
  • pytest sdk/python/tests/unit — 1069 passed, 1 skipped
  • ruff check + ruff format --check clean

Made with Cursor

Release

  • bittensor 11.0.2.dev0 → 11.1.0.dev0 (11.0.2 already on PyPI; releases as 11.1.0)
  • bittensor-core 0.1.2 → 0.1.3 (core keyfile changes; SDK floor bumped to match)
  • runtime spec_version 443 → 444 (CheckNonce fix is a runtime behavior change; the train ships on spec bumps)
  • uv.lock regenerated with CI's pinned uv 0.11.28 (one-time upload-time metadata churn)

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
subtensor Ready Ready Preview Aug 6, 2026 2:25am

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI review — see the sticky summary comment for the verdict and the inline comments below for specific findings.

Comment thread sdk/bittensor-core/src/keyfiles/mod.rs
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🛡️ AI Review — Skeptic (security review)

VERDICT: SAFE

MEDIUM scrutiny: account is ~5 months old and commit author differs from PR author, offset by repository write permission and extensive substantive merged history; no Gittensor association found. Branch: feat/btcli-combined → fix/testnet-grandpa-finality-sdk-pin.

Static analysis found no malicious behavior or security vulnerability in the runtime nonce relaxation, keyfile compatibility changes, multisig intent wrapping, secret-handling paths, or regenerated dependency lockfile. No AI-review trust-boundary files are modified.

Findings

No findings.

Conclusion

No security-blocking issues were found in the current diff.


🔍 AI Review — Auditor (domain review)

VERDICT: 👍

Gittensor association UNKNOWN; established high-volume contributor with repository write access.

The implementation matches the substantive PR description. The latest multisig adapter preserves the underlying intent’s spend, subnet, policy, and mandatory MEV-shielding semantics, with focused regression tests. The runtime nonce change remains narrowly scoped and correctly accounts for its additional storage read.

The overlapping PRs concern unrelated behavior despite sharing release/runtime files. No auto-fixes were needed, and no runtime checks were rerun because static review found no issue requiring confirmation.

Findings

No findings.

Conclusion

Ready to merge: no substantive correctness, domain-rule, testing, or description issues were found.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: VULNERABLE

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI review — see the sticky summary comment for the verdict and the inline comments below for specific findings.

Comment thread sdk/bittensor-core/src/keyfiles/mod.rs Outdated
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: VULNERABLE

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI review — see the sticky summary comment for the verdict and the inline comments below for specific findings.

Comment thread sdk/bittensor-core/src/keyfiles/mod.rs Outdated
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: VULNERABLE

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI review — see the sticky summary comment for the verdict and the inline comments below for specific findings.

Comment thread sdk/bittensor-core/src/keyfiles/mod.rs
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: VULNERABLE

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: SAFE Auditor: 👍

@UnArbosFive
UnArbosFive changed the base branch from main to fix/testnet-grandpa-finality-sdk-pin August 6, 2026 01:32
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

eco-tests changed — indexer review required

This PR modifies files under eco-tests/. and may affect downstream indexing.
cc @evgeny-s — please review manually

Changed files
  • eco-tests/Cargo.toml

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: SAFE Auditor: 👍

@UnArbosFive
UnArbosFive self-requested a review August 6, 2026 01:38
Combine the btcli UX, multisig, dry-run, secret-handling, name-resolution, SDK compatibility, and alpha-fee runtime updates into a single signed change.
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: SAFE Auditor: 👍

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: SAFE Auditor: 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants