fix failed eco test#2725
Conversation
🛡️ AI Review — Skeptic (security review)VERDICT: SAFE BASELINE scrutiny: open-junius has write permission, an established account, substantial prior subtensor PR history, matching in-PR author/committer, and no Gittensor allowlist hit found; branch fix-failed-eco-test -> devnet-ready. Reviewed the trusted-context signals and full prefetched diff. The PR removes obsolete FindingsNo findings. ConclusionNo malicious behavior or security vulnerability was found in this small mock/test cleanup. The remaining changed surface does not create a runtime panic, supply-chain execution path, permission bypass, or economic-risk change. 🔍 AI Review — Auditor (domain review)VERDICT: 👍 Gittensor: LIKELY by recent Subtensor PR history; author has write permission and substantial prior contributions, so review focused on correctness and duplicate-work overlap. The Auditor proposed a replacement PR description, but the current body is non-trivial; not overwriting. Maintainers: ask the Auditor to regenerate if you want it. The change is narrowly scoped to stale swap mock wiring: Duplicate-work check: the prefetched overlap list contains broader PRs touching the same mock/runtime files, but the closest overlapping branches retain the stale Verification: FindingsNo findings. ConclusionThis PR removes obsolete mock config after the swap pallet config surface changed, without altering production economic logic or storage behavior. No blocking domain issues found. |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
Description
The PR fix the failed eco-test and remove the unused parameter SwapMaxPositions.
Related Issue(s)
Type of Change
Breaking Change
If this PR introduces a breaking change, please provide a detailed description of the impact and the migration path for existing applications.
Checklist
./scripts/fix_rust.shto ensure my code is formatted and linted correctlyScreenshots (if applicable)
Please include any relevant screenshots or GIFs that demonstrate the changes made.
Additional Notes
Please provide any additional information or context that may be helpful for reviewers.