Skip to content

robonomics-interface 3.0.0

Choose a tag to compare

@Vourhey Vourhey released this 27 Oct 08:45
· 19 commits to main since this release
51b9287

A rewrite of the library for the current Robonomics runtime. Not compatible with 2.x: no substrate-interface, an asyncio client over WebSocket (plus a blocking RobonomicsSync), ED25519 keys, Polkadot only. 2.x stays available as robonomics-interface<3.

The release of the 3.0 line; the API is the one of 3.0.0rc2.

Fixed

  • A request timeout no longer drops the connection when the node still answers a
    system_health ping. Dropping it ended every subscription on the shared connection,
    so one slow read (query_map on a Raspberry Pi, say) turned a pending
    author_submitAndWatchExtrinsic into ExtrinsicOutcomeUnknown. A timeout on a live
    node is raised as RequestTimeout and is not retried on another endpoint; a node that
    answers neither is dropped and failed over as before.

Added

  • The Sphinx documentation is back: API reference built from the docstrings, plus the
    README, MIGRATION.md and the changelog, published to GitHub Pages from main.

Changed

  • Checked against the Robonomics runtime spec_version 52 on Polkadot (Sudo removed
    from production, OpenGov, CPS v1.1): the metadata, signed extensions, and the
    Datalog, RWS, System and Balances pallets are unchanged for this library. The offline
    fixtures are recorded from spec 52. The development-chain tests still run on the
    runtime v50 wasm, because the production runtime no longer has Sudo.