Skip to content

sdk v0.6.0

Choose a tag to compare

@sv sv released this 18 Nov 06:15

Changed

  • SUPPORTED_SPEC_VERSIONS admits runtimes 1014015 through 1014020, and
    SUPPORTED_SPEC_VERSION_RANGE ends at 1014020. They add the per-miner capacity reservations,
    the model weights lock, the VRF committee seed and the D-0544 unsigned-open tariff. The wire
    bytes the SDK signs are unchanged.

Fixed

  • Faucet POSTs are no longer automatically retried after ambiguous outcomes. Grant
    confirmation no longer equates a sufficient balance with an attributable grant;
    QuickStart stops on an unknown result instead of silently continuing.

  • Preserve an unknown cooperative settlement outcome when finalized-event polling
    reaches its deadline, preventing a competing force settlement or timeout refund.

Added

  • computeChannel.readMinerCapacity reads a miner's D-0542 capacity reservations at the
    finalized head and returns its live accepted cap, reserved total, the rate the next open would
    reserve, and whether it fits; undefined on a runtime without the storage. minerCapacity,
    reservationRateForSessions and reservationRateUpdate are the pure rules behind it.

  • fundFromFaucetDetailed distinguishes refused from unknown requests. The current
    faucet protocol lacks an authenticated request-to-transaction binding, so even a
    successful response remains unknown. waitForAvailableBalance explicitly checks
    balance; the older boolean helpers remain as deprecated compatibility aliases.

  • SubmitResult.blockHash names the finalized block when the submitter waits for finality;
    settlementArgs and mapChainEvents are exported for callers that hold a signer lane.

  • verifyMirror accepts revision, pinning a whole-repo Hugging Face check to that
    commit instead of resolving main.