Skip to content

fix: 协议空间当理智不足并选择使用许可,尝试不使用理智许可#1769

Merged
MistEO merged 1 commit intov2from
fix/20260331
Mar 31, 2026
Merged

fix: 协议空间当理智不足并选择使用许可,尝试不使用理智许可#1769
MistEO merged 1 commit intov2from
fix/20260331

Conversation

@zmdyy0318
Copy link
Copy Markdown
Contributor

@zmdyy0318 zmdyy0318 commented Mar 31, 2026

fix #1713
fix #1675

Summary by Sourcery

调整 Protocol Space 中的 InSpace 配置,以在理智值不足时正确处理理智许可(sanity permit)的使用。

Bug 修复:

Original summary in English

Summary by Sourcery

Adjust Protocol Space InSpace configuration to correctly handle sanity permit usage when sanity is insufficient.

Bug Fixes:

Copilot AI review requested due to automatic review settings March 31, 2026 03:53
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

嗨——我已经审查了你的更改,一切看起来都很棒!


Sourcery 对开源项目是免费的——如果你喜欢我们的评审,请考虑分享给他人 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的评审。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

该 PR 针对协议空间领奖流程在“理智不足但勾选使用理智消耗许可”时的卡住问题做了流程兜底:当检测到使用许可会导致理智不足时,自动切换为“不使用许可”再尝试领取,从而满足 Issue #1713/#1675 期望的“理智不足 160 但足够 80 时仍可领取 80”的行为。

Changes:

  • 新增“使用许可导致理智不足”的识别节点,用于在使用许可后触发降级逻辑。
  • 调整“使用理智消耗许可”节点的后续分支:优先处理理智不足场景并切换到“不使用许可”。

@MistEO MistEO merged commit 55ccc75 into v2 Mar 31, 2026
22 checks passed
@MistEO MistEO deleted the fix/20260331 branch March 31, 2026 05:09
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.

理智大于80小于160的时候会勾选使用消耗许可领不了卡住 “优先使用理智消费许可”并非优先

3 participants