Skip to content

v0.5.0

Choose a tag to compare

@xiaoyu1998 xiaoyu1998 released this 06 Sep 04:50
· 3 commits to main since this release

LightPool Change List (v0.5.0)

From: 114d1c9 (fix validators missing connections) — v0.4.0
To: 3bb46f3 (add agent support in mint and burn) — v0.5.0
(Also includes local release prep: invert community → default limits + enterprise feature, and stack version bump to 0.5.0 across node / sdk / bridge / clob-indexer / bot adapter.)


1. Store Migration Toolkit

  • New crate lightpool-store-migrate: offline RocksDB upgrade path with versioned v1 object/metadata snapshots and v1 → v2 runner
  • CLI: lightpool migrate-store wired through the node binary
  • Docs: MIGRATION.md (per-struct checklist) and NETWORK_UPGRADE.md (network cutover vs local migrate)
  • Block-tree migration hardening (c56ba65): safer RocksDB iteration / consensus metadata convert so migrate does not fail on block-tree snapshots
  • Typed-store helpers for safe iteration used by migration

2. Event-Contract — Agent on Mint / Burn

  • agent_authorize for event-contract mint/burn (3bb46f3): mint and burn can run under agent authorization (aligned with spot’s agent path)
  • Action-input / module wiring updated so prepare/execute see the agent dependency correctly

3. Build Features — Default Community Limits

  • Removed community feature
  • Default build (no features): MAX_MODULE_INDEX = 10 (former community limits)
  • New opposite feature enterprise: MAX_MODULE_INDEX = (1<<56)-1 (former non-community / full range)
  • build-release.sh builds the default (limited) binary without requiring a feature flag
cargo build --release -p lightpool
cargo build --release -p lightpool --features enterprise

4. Stack Version Alignment (0.4.0 → 0.5.0)

Repo Change
lightpool Workspace package 0.5.0 (+ typed-store / typed-store-error)
lightpool-node Release package 0.5.0
lightpool-sdk-rust Package 0.5.0
lightpool-bridge Package 0.5.0
lightpool-clob-indexer Package 0.5.0
lightpool-bot Adapter targets stack 0.5.0 (LIGHTPOOL_STACK_VERSION; Nautilus crate versions unchanged)

Summary

  • Major areas: store migrate + migrate-store CLI, block-tree migrate fix, event-contract mint/burn agent authorize, default module-index limits + enterprise feature, stack-wide 0.5.0 version bump
  • Workspace / release package version 0.4.0 → 0.5.0
  • 73 files changed, +3,716 / −38 lines (114d1c9..working tree including release prep)