Skip to content

Releases

v0.9.0

Choose a tag to compare

@SaulBuilds SaulBuilds released this 13 Nov 00:44
Immutable release. Only release title and notes can be modified.
v0.9.0
246c023

Breaking (0.x minor): the vendored address book and the genesis check move from r1006 to r1007
(live 2026-11-12T14:00Z). A client or manager of this version refuses an r1006 node.

Changed

  • citrate_sdk/_generated/federation_contract.json is the r1007 federation contract
    (citrate-federation#579, built from citrate-chain's root book). The expected genesis is r1007's
    block 0, 0xcf68634502b4fca1e977ac8dd35aa006bb40c04208d5cd55f1c2b508bba96631.
    CitrateClient, the write-path managers (pinned_send) and
    verify_wallet_address_on_chain raise WrongNetworkError (WRONG_NETWORK) on an r1006 node,
    as they did on r1005. To keep talking to another network, pass expected_genesis_hash=.
  • The block-0 contract and account-abstraction addresses are unchanged (CREATE2). The 28
    contracts deployed after block 0 (TenantHierarchy, the Quorum registries, the DefensePrime
    registries and others) moved to the r1007 post-genesis deployer's addresses. The root book folds
    them into contracts() under their own keys, for example TenantHierarchy.

v0.8.0

Choose a tag to compare

@SaulBuilds SaulBuilds released this 09 Nov 15:52
Immutable release. Only release title and notes can be modified.
v0.8.0
82eaa0b

Minor release: new API only, nothing removed or changed in an incompatible way. Publish once the
CitrateScan verify API (v2) serves verifysourcecode / checkverifystatus at
DEFAULT_EXPLORER_URL.

Added

  • citrate_sdk.verify: verify_contract and deploy_and_verify verify Solidity source on
    CitrateScan through its Etherscan-compatible API (verifysourcecode, checkverifystatus) from
    forge or hardhat build-info, a hardhat artifact, or a standard JSON input, with polling and typed
    errors (VerificationError and subclasses). Also load_build_info, parse_build_info,
    prepare_standard_json, check_verify_status, wait_for_verification.
  • CitrateClient.deploy_contract(data, value=0, gas_limit=None, receipt_timeout=120): sign and
    send a contract-creation transaction (same genesis and chain-id checks) and wait for the receipt
    (DEPLOY_FAILED on a status-0 receipt).
  • Verification details: chain_id is optional (sent as chainid on the submission and every
    status call only when given, as citrate contract verify --chain-id); transient explorer errors
    (transport, timeout, HTTP 5xx and 429) are retried while waiting, with a backoff capped by
    transient_backoff_max, and flagged by ExplorerResponseError.transient; not-indexed
    resubmissions wait at least rate_limit_backoff; transport-error messages never include the API
    key or the request's query string.

Fixed (review follow-up on #21)

  • wait_for_verification: the transient backoff exponent is clamped (transient_backoff) and
    poll_interval is at least MIN_POLL_INTERVAL (5 ms), so poll_interval=0 no longer retries in
    a tight loop and poll_interval=0.0 with transient_backoff_max=0.0 can no longer raise
    OverflowError after 1024 consecutive transient errors.

v0.7.0

Choose a tag to compare

@SaulBuilds SaulBuilds released this 30 Oct 04:06
Immutable release. Only release title and notes can be modified.
v0.7.0
c264e24

citrate-labs-sdk 0.7.0: address book moved to the r1006 network (genesis 0xa3651a27...). Merged in #20.

v0.6.2

Choose a tag to compare

@SaulBuilds SaulBuilds released this 25 Sep 23:45
3bed9ac

Security hardening release. Upgrade from 0.6.0 is recommended.

  • Classroom enrollment uses invite keys (enroll_with_invite); create(invite_code=...) and rotate_invite_code(...) now take a 32-byte invite secret.
  • ID-token validation bounds iat.
  • Stricter key-share handling.
  • Dependency updates.