feat: qubic solana smart contract (review only)#15
Open
jean-michelet wants to merge 6 commits into
Open
Conversation
- Replace #pragma pack and C-style arrays with QPI Array<uint8, N> - Replace char/string literals with ASCII codes - Replace [i] indexing with .set(i) / .get(i) - Change static const to static constexpr - Mark order filled before transfers to prevent replay on partial failure - Reorder transfers: recipient first, then relayer and fees - QSBOrderMessage layout changes from 240 to 245 bytes (protocolName padded to 16) - Contract verifier: PASSED
…o skip IPO on local testnet Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- Uncomment TESTNET_PREFILL_QUS so all customSeeds get 10B QU at epoch start - Add admin, oracle-1..6, pauser, relayer, user seeds to customSeeds - Fix QSB INITIALIZE() admin to real key (SINUBYSBZ… from .temp/qubic-admin.json) instead of placeholder id(100,200,300,400) Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…tnet - Set TESTNET_EPOCH_DURATION to 1,000,000 ticks (~5.8 days at 500ms/tick) to avoid epoch transitions during QA sessions - Set PAUSE_BEFORE_CLEAR_MEMORY=0 so epoch transitions auto-complete without requiring an interactive F10 keypress (incompatible with Docker) - Remove ONLY_LOGGING=ON cmake flag from Dockerfile Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
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.
No description provided.