Skip to content

optimum-keysync 1.1.0

Choose a tag to compare

@CryptoFewka CryptoFewka released this 25 Jun 20:46
Immutable release. Only release title and notes can be modified.
74b53c6

Maintenance and hardening release. No breaking changes; upgrade in place with pip install -U optimum-keysync.

Added

  • Network safety check: when a beacon node is configured, keysync verifies the beacon's chain id matches KEYSYNC_CHAIN_ID before planning any changes, and fails fast on a mismatch (for example a testnet beacon left on the mainnet default) or a wrong KEYSYNC_BEACON_URL, instead of resolving an empty set that looks like a mass exit. (#17)

Changed

  • The indices JSON file is validated more strictly: a non-integer or negative validator_index is rejected up front rather than being silently coerced to a wrong index. (#17)
  • Malformed console API responses (a non-JSON body, or a non-numeric count) now surface as a clean error with the documented exit code instead of an opaque traceback. (#17)
  • Key registration reports progress per batch, so a failure partway through a large import logs what actually landed. (#17)
  • KEYSYNC_LOG_FORMAT is validated (console or json); a URL without a scheme now gives a clearer error; validators excluded by beacon status (for example withdrawn) are logged. (#18)

Fixed

  • HTTP clients are now closed cleanly via context-manager support, avoiding a connection-pool leak when keysync is used as a library. (#16, closes #5)