Conversation
* update qraffle * update: qxmr logout fee 12.5m * fix: calculation of fee by div * fix: variable name and constant * QRaffle: fix END_EPOCH winner randomness * QRaffle: cap proposals per user and validate submitProposal inputs * QRaffle: security fixes, fee accounting, and correctness improvements * fix: voteStatus's data structure - O(N) -> O(1) * QRaffle: cut vote and token-raffle state size; O(1) vote and deposit paths * QRaffle: O(1) qu-raffle dedup, shrink token-raffle history ring, fix ring queries * fix: qraffle test file --------- Co-authored-by: double-k-3033 <double-k-3033@users.noreply.github.com>
* 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 Co-authored-by: baoLuck <vitalymayer1706@gmail.com>
* increase tx per tick 1024>4096 * Adapt tx revenue point with MAX_NUMBER_OF_TICKS_PER_EPOCH=4096. (#881) * fix logging --------- Co-authored-by: Franziska Mueller <11660876+Franziska-Mueller@users.noreply.github.com> Co-authored-by: cyber-pc <165458555+cyber-pc@users.noreply.github.com> Co-authored-by: KavataK <victor.tsiushkevich@gmail.com>
* QDuel * transfer dividends to RL shareholders * Remove magic numbers * Move test file * Changes public to protected * Adds lock mechanism * Deposit * Return qus after end epoch * Adds check state in tick * Transferring rooms and players to the next epoch * Create room in tick * Transferring rooms and players to the next epoch * Base tests * Adds tests * Fixes * Add new test * Adds cleanup for HashMaps * Update constructionEpoch * Fixes build and warnings * Adds winnerId and userId * Refactoring * 0 means rooms do not expire automatically. * Close Room * Percent scale to state CalculateRevenue to public function * Get Winners * typo: Winner * Fixes following Certik's report
This reverts commit 83f84b4.
This reverts commit ee2c378.
This reverts commit 545e2ba.
* qvault sc optimizations * indent * fix for ContractVerify tool
A malisious computor could craft a execution fee report whose numEntries caused the 32-bit size math in isValidEntryAlignment to wrap and match the actual payload size, leading to an out-of-bounds read in validateReportEntries on every honest node. - Bound numEntries <= contractCount in isValidExecutionFeeReport. - Widen isValidEntryAlignment size math to 64 bits with the same bound. - Include dataLock in minInputSize() so the subtraction cannot underflow. - Add the same bound in validateReportEntries. - Regression tests covering the overflow and adjacent edge cases.
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.
Change log: