Merged
Conversation
* 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>
Collaborator
|
LGTM 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADDITION_NUMBER_OF_MUTATIONSfrom 300 to 500