Skip to content

Release v1.293.0#900

Merged
fnordspace merged 12 commits into
mainfrom
develop
May 27, 2026
Merged

Release v1.293.0#900
fnordspace merged 12 commits into
mainfrom
develop

Conversation

@fnordspace

Copy link
Copy Markdown
Contributor

Changelog:

  • Switches addition mining to the fixed-topology detour algorithm
  • Add additional size checks for incoming requests
  • Update for QSwap (If proposal accepted; Migration tool linux)

cyber-pc and others added 12 commits May 21, 2026 09:32
* fix: entropy index problem and unregistered function problem

* feat: add test file

* fix: refund on invalid BuyEntropy inputs; always clear reveal slot

- BuyEntropy: add missing else branch so invalid inputs (bad tier,
  zero/oversize bits, underpaid fee) refund the full invocation reward
  instead of silently keeping it.
- END_TICK: move reveals.set(..., zeroReveal) out of the
  a no-show aren't permanently locked out.

* fix: correct BuyEntropy output format and refund overpayment

Change BuyEntropy_output.entropy from Array<bit_4096,32> to a single
bit_4096, copy the first numberOfBits bits, and refund any payment
beyond numberOfBits*100 instead of silently keeping it.

Co-Authored-By: N-010 <N-010@users.noreply.github.com>

* fix: hold provider collateral until reveal

Rework the collateral lifecycle so a provider's stake stays locked
from commit until they reveal:
- refund the stake on a valid reveal, slash (burn) it on a no-show
- reject an empty commit before any state change to avoid double refund
- stop paying silent providers from the treasury at END_TICK

Adds lockedCollateralAmounts and revealedThisTickFlags state, and
gtests covering the collateral lifecycle.

* fix: const and padding problem

* fix: const issue

---------

Co-authored-by: double-k-3033 <double-k-3033@users.noreply.github.com>
Co-authored-by: N-010 <N-010@users.noreply.github.com>
* Add Qiner's detour addition score as reference code.

* Update detour algorithm for score_addition.

* Change detour mining params.

* Speed up the detour algorithm.
* fix: optimized Qswap sc

* fix: github check failure

* optimized Qswap sc

* fix: github check failure

* removed unnecessary struct LiquidityInfo

* merged baoluck's PR

* convert sint32 to bit

* align indentation
* Add missing payload size checks

* Fix response-payload sibling check in processRequestAssetsSendRecord

---------

Co-authored-by: fnordspace <qubic@fnord.space>
@cyber-pc

Copy link
Copy Markdown
Collaborator

LGTM

@fnordspace fnordspace merged commit 6beb9ed into main May 27, 2026
3 checks passed
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.

6 participants