v0.5.0
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 versionedv1object/metadata snapshots andv1 → v2runner - CLI:
lightpool migrate-storewired through the node binary - Docs:
MIGRATION.md(per-struct checklist) andNETWORK_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_authorizefor 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
communityfeature - 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.shbuilds the default (limited) binary without requiring a feature flag
cargo build --release -p lightpool
cargo build --release -p lightpool --features enterprise4. 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 +
enterprisefeature, 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)