Skip to content

Caatinga v3.10.3

Choose a tag to compare

@Dione-b Dione-b released this 28 Sep 00:00
· 52 commits to main since this release
b1c2e70

Caatinga v3.10.3

Status

Stable patch release on top of 3.10.2. Recommended for anyone targeting mainnet: with the default mainnet config, 3.10.2 and earlier could not reach mainnet at all.

Packages

  • @caatinga/cli@3.10.3
  • @caatinga/core@3.10.3
  • @caatinga/client@3.10.3
  • @caatinga/zk@3.10.3
npm install -g @caatinga/cli@latest

Compatibility

  • Node.js 22+
  • Stellar CLI minimum 23.0.0, last tested 28.0.0
  • Rust 1.91.1+ with the wasm32v1-none target (not 1.91.0)

Fixes

  • Mainnet commands use the configured RPC. A config matching the well-known mainnet network (https://mainnet.sorobanrpc.com + the public passphrase, the scaffold default) was passed to the Stellar CLI as --network mainnet. The CLI's built-in mainnet entry has no RPC URL ("Bring Your Own"), so read, invoke, deploy, upgrade and related commands failed with Invalid URL Bring Your Own: …, or silently used a locally added mainnet network. Mainnet now always gets explicit --rpc-url / --network-passphrase from caatinga.config.ts; testnet keeps the --network testnet shorthand. (#224)
  • No implicit alice on mainnet. ctg read and ctg smoke no longer fall back to the built-in alice identity on mainnet (detected by name or passphrase). Pass --source <alias> or set CAATINGA_SOURCE; otherwise CAATINGA_SOURCE_ACCOUNT_REQUIRED is raised. Testnet keeps the alice fallback. (#226)
  • ZK dev-ceremony block detects mainnet by passphrase. ctg zk build, ctg zk invoke and verifier ctg deploy now block single-party dev-ceremony artifacts on mainnet networks with a custom name (e.g. pubnet), not only on a network literally named mainnet. (#228)

Behavior change

  • ctg read / ctg smoke against mainnet now require an explicit source identity.

API additions (backward-compatible)

  • describeCliSource(explicit, { network }) / resolveCliSource(explicit, { network }) accept an optional target network.
  • isProductionNetwork(name, config?) and assertDevCeremonyAllowed({ networkConfig }) in @caatinga/zk accept an optional network config.

Full changelog: v3.10.2...v3.10.3