-
Notifications
You must be signed in to change notification settings - Fork 153
IPO Pulse #714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
IPO Pulse #714
Conversation
…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
…eserve top-ups; correct schedule bitmask in specx
Auto-update QTF index in QRP Adds cleanup for allowedSmartContracts in QRP
# Conflicts: # src/contract_core/contract_def.h
|
@Franziska-Mueller |
Franziska-Mueller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here are some initial comments, I will continue the review tomorrow
# Conflicts: # src/Qubic.vcxproj # src/Qubic.vcxproj.filters # src/contract_core/contract_def.h # test/test.vcxproj.filters
| } | ||
|
|
||
| state.maxAutoTicketsPerUser = input.maxTicketsPerUser; | ||
| output.returnCode = toReturnCode(EReturnCode::SUCCESS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is an issue here, with the current code, the new maxAutoTicketsPerUser limit only affects new auto participants but no existing ones. When changing the maxAutoTicketsPerUser, you have to either iterate through the current auto participants and adjust their desiredTickets count accordingly or you have to add a check in ProcessAutoTickets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| CALL(GetRandomDigits, locals.randomInput, locals.randomOutput); | ||
|
|
||
| locals.ticket.player = input.player; | ||
| locals.ticket.digits = locals.randomOutput.digits; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think when this function is executed in the same tick (= same prev spectrum digest), it will always generate the same numbers right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right
Done
…imits and update existing entries accordingly
…er and update related logic for consistency
…ticket initialization
Proposal Pulse