Repository navigation
Releases
Releases · CitrateNetwork/citrate-sdk-python
v0.9.0
Immutable
release. Only release title and notes can be modified.
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.jsonis 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_chainraiseWrongNetworkError(WRONG_NETWORK) on an r1006 node,
as they did on r1005. To keep talking to another network, passexpected_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 intocontracts()under their own keys, for exampleTenantHierarchy.
v0.8.0
Immutable
release. Only release title and notes can be modified.
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_contractanddeploy_and_verifyverify 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 (VerificationErrorand subclasses). Alsoload_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_FAILEDon a status-0 receipt).- Verification details:
chain_idis optional (sent aschainidon the submission and every
status call only when given, ascitrate 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 byExplorerResponseError.transient; not-indexed
resubmissions wait at leastrate_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_intervalis at leastMIN_POLL_INTERVAL(5 ms), sopoll_interval=0no longer retries in
a tight loop andpoll_interval=0.0withtransient_backoff_max=0.0can no longer raise
OverflowErrorafter 1024 consecutive transient errors.
v0.7.0
Immutable
release. Only release title and notes can be modified.
citrate-labs-sdk 0.7.0: address book moved to the r1006 network (genesis 0xa3651a27...). Merged in #20.
v0.6.2
Security hardening release. Upgrade from 0.6.0 is recommended.
- Classroom enrollment uses invite keys (
enroll_with_invite);create(invite_code=...)androtate_invite_code(...)now take a 32-byte invite secret. - ID-token validation bounds
iat. - Stricter key-share handling.
- Dependency updates.