Skip to content

feat: qubic solana smart contract (review only)#15

Open
jean-michelet wants to merge 6 commits into
qubic:mainfrom
avicenne-studio:feat/qubic-solana-smart-contract
Open

feat: qubic solana smart contract (review only)#15
jean-michelet wants to merge 6 commits into
qubic:mainfrom
avicenne-studio:feat/qubic-solana-smart-contract

Conversation

@jean-michelet
Copy link
Copy Markdown

No description provided.

SoufianeBenbah and others added 6 commits May 12, 2026 10:51
- 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]>
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.

3 participants