Skip to content

Release v1.285.0#815

Merged
Franziska-Mueller merged 10 commits intomainfrom
develop
Apr 1, 2026
Merged

Release v1.285.0#815
Franziska-Mueller merged 10 commits intomainfrom
develop

Conversation

@Franziska-Mueller
Copy link
Copy Markdown
Collaborator

@Franziska-Mueller Franziska-Mueller commented Mar 31, 2026

  • speed up addition score function
  • increase ADDITION_NUMBER_OF_MUTATIONS from 300 to 500
  • remove one XMR marathon (Sat-Sun)
  • automatic zero padding for undersized contract files
  • add oracle interface for doge share validation
  • minor Pulse SC updates
  • IPO of contract Qusino (if proposal accepted)

fnordspace and others added 10 commits March 25, 2026 16:10
* Add DogeShareValidation oracle interface

* Improve naming in DogeShareValidation query
* feat: first version of Qusino sc

* feat: reimplementing the asset management and adding some of gtest cases

* more testcases

* feat: added more testcases

* buyQST update with min pricing on the qx contract

* fix: prefix issue

* fix: rev1

* fix: fixed the type of input for the asset&staking duration

* fix: updated the qusino sc with updating the logic&added logs

* fix: / to div

* fix: daily bonus amount

* fix: epoch for the first usage

* fix: updated the redemption logic

* removed unnecessary commit

* unnecessary changes

* fixed contract_def.h

* updated the sc after updating the qpi

* fixes

* remove googletest-src

* changed release epoch

* protected helper functions
* Speed up addition score computation.

* Hide score processing latency in processBroadcastTransaction.

* Increase ADDITION_NUMBER_OF_MUTATIONS to 500.
* Add automatic contractfile padding

* Move paddableContract constant to contract_def.h
* Implement QThirtyFour contract with ticket purchasing and winner selection logic

* Add QReservePool and QTF contract definitions with related functionalities

* Refactor QThirtyFour.h: reposition QTF2 struct definition for clarity

* Test version for QThirtyFour

* CalcReserveTopUp

* New structs

* Fees

* Refactoring

* Remove profit transfer from k3 to k2 with FR enabled

* Adds tests

* Updates testes

* Does not block the purchase of a ticket at a higher price

* - src/contracts/QThirtyFour.h: ensure k4 reseed uses up-to-date QRP reserve and don’t consume reseed budget with tier top-ups on k4 rounds
  - test/contract_qtf.cpp: expose private/protected internals for unit tests, add exact-match k2/k3 ticket generators (unique), fund jackpot balance in k4 test, and force FR off in baseline k2/k3 revenue-split test

* Removes SettlementLocals and aligned_storage_t

* Updates tests

* Update tests

* Update tests

* Updates index

* Updates inde• Fix k=4 settlement: protect jackpot reseed from k2/k3 reserve top-ups; correct schedule bitmask in specx

* Fixes ContractVerify

* Use RL::max

* Fixes ContractVerify

* Renames Available to Allowed for SC
Auto-update QTF index in QRP
Adds cleanup for allowedSmartContracts in QRP

* Pulse prototype

* Tests

* Tests

* Adds Pulse.h

* Fixes build

* Removes POST_INCOMING_TRANSFER

* Adds test

* Fixes reward

* Fixes for contractverify

* Proportional rule (pro-rata scaling)

* Removes qrp and qtf

* Change contract index

* Removes QTF and QRP

* Fixes contractverify, contract index

* Fixes build

* Update GameMechanics

* Fixes tests

* Rename test

* Update GameMechanics

* GetWinners

* BuyRandomTickets

* Update BuyRandomTicketsSucceedsAndMovesQHeart

* Adds comments

* Rooms

* Fixes: availableBalance, save  data in DepositAutoParticipation

* Adds tests

* Fixes for Contract Verify

* Delete account if deposit is empty

* Refactor SetAutoConfig to reject zero desiredTickets and update tests accordingly

* Fixes after review

* Refactor SetAutoConfig and SetAutoLimits to enforce positive ticket limits and update existing entries accordingly

* Add ticketCounter to randomData structure for tracking ticket counts

* Refactor ticket handling in Pulse: change data types for ticket counter and update related logic for consistency

* Add unit tests for prize computation and ticket validation; refactor ticket initialization

* Adds fee for RL

* Set valid constructionEpoch

* Fixes global const

* remove _ALLOW_KEYWORD_MACROS in gtest

* Update constants

* Removes QHeart Percent
Fixes padding

* Adds PRE_ACQUIRE_SHARES

* Refactor Pulse contract: merge GetSchedule and GetDrawHour into GetRoundState; introduce new functions for ticket, prize, and round handling; update tests accordingly.

* Refactor `GetAutoStats` function: add `HashMapConverter`, expand output structure, and introduce ticket clamping logic.

* Add utility functions to test suite: `countAutoParticipants` and `sumAutoDeposits`. Update `GetAutoStats` test for expanded participant roster and shared state verification.

* Add GetPlayerBalance function

* Update `GetPlayerBalance`: include `player` input parameter for share calculation.

* Update `GetAutoParticipation`: replace `invocator()` with explicit `player` input parameter for clarity and consistency.

* Refactor `GetRoundState`: update function ID and registration to ensure consistency across definitions and contract handling.

* Fixes asset name

* Fix typo in `HashMapConverter`: rename `hasMap` to `hashMap` for variable consistency.

---------

Co-authored-by: Franziska Mueller <11660876+Franziska-Mueller@users.noreply.github.com>
@cyber-pc
Copy link
Copy Markdown
Collaborator

cyber-pc commented Apr 1, 2026

LGTM 👍

@Franziska-Mueller Franziska-Mueller merged commit 35be049 into main Apr 1, 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