Repository navigation
Runtime 92023
Pre-releaseRuntime spec 92023 (prune fully spent batches from UserBatches + benchmark miner
payment paths; PR #62 review + re-review fixes applied, weights re-measured). Built with
srtool from commit 03196e3, on top of live 92022. Supersedes the 083b842 build
(compressed blake2_256 0x779cef…), rebuilt after the re-review weight changes.
srtool image: paritytech/srtool@sha256:9902e50293f55fa34bc8d83916aad3fdf9ab3c74f2c0faee6dec8cc705a3a5d7 (srtool 0.18.3, rustc 1.88.0)
Build: PACKAGE=hippius-mainnet-runtime RUNTIME_DIR=runtime/mainnet BUILD_OPTS="--features on-chain-release-build"
hippius_mainnet_runtime.compact.compressed.wasm: 2,197,381 bytes
sha256 0xbad1557d2fb9b36d462fb36871f5a929b756d2a2e37ae649afd004b302330690
blake2_256 0xd63d5abdcc19c042fa85e427e7367001a84001c0c527f5c6975672c1fabe8e6a
setCode 0x58d97725da448b72f30964f730d08db217bf8141bfce0f9a1b4a491cf5dd2d07
proposal hash (authorizeUpgrade) 0xb62d48b7d954cbe3b23c60e0718f40e4aca792eaab0f9ff34c5674f85d749cc2
IPFS QmTqpVGD92kwy953ijX3H8D3jTYeTukYvKKuBZ6hutb5x7
(uncompressed compact.wasm, for reference, not uploaded: 9,706,894 bytes,
blake2_256 0xd094ceaec77be42290e22cb5ea7a77ad7c02f481c6a336cc5ce799c2abb953c4)
Weights — mixed reference hardware. Most of the 92023 weight set was measured on a
dedicated 8-vCPU Hippius CVM (AMD EPYC 9254), steps 50 / repeat 20. The three paths
touched by the re-review were re-measured for this build on a separate AMD EPYC 7543 box:
marketplace::charge_account_due 790.1 µs, 37r / 25w, proof 4436
marketplace::hourly_charge 138.5 µs, 26r / 10w, proof 3279
arion::miner_payment_settlement_hook base 28.14 ms; +11.37 µs·c; +181.5 µs·f;
reads 53 + 4·c + 8·f; writes 41 + c + 5·f; proof base 92522
The settlement per-family writes went 4 → 5 (the bags-list rebag, after prebond_family was
fixed to nominate). The 7543 is slightly slower than the 9254, so those three figures are
conservative relative to the rest of the set; can re-run all three on a 9254 for a single
reference box if preferred. Full weight-sensitive suite passes (billing/referral, hourly
storage billing, miner_payments + adversarial, arion, alpha, buy_credits, spent_batch_pruning).
Validation (on this wasm, live mainnet state). Forked live mainnet at #8164799 with the
03196e3 wasm as override: upgrade applies → reports hippius-92023, metadata V14,
tx_version 1; the two new storage items default correctly (SpentBatchPruneDone=false,
SpentBatchPruneCursor=none). Conservation: over all 819 UserBatches accounts at the
8164800 settlement boundary, 493 of 1,874 batch ids (26.3%) are fully spent (0/0/0) and
pruned, 8 lists emptied, 1,381 kept — and every account's sum of remaining_credits is
unchanged (aggregate Σ identical before/after), proving the prune drops only zero-value
batches and preserves every balance. Full dry-run details in PR #62.
Draft: not for publication. Submit only after Julien reproduces the srtool build from
03196e3 (same image digest), confirms the compressed blake2_256 0xd63d5a…, and signs
set_code.