Skip to content

Conversation

@Ximik
Copy link
Member

@Ximik Ximik commented Dec 18, 2025

No description provided.

buffrr and others added 17 commits October 10, 2025 23:24
Update README with Subspaces development details
Fix data inconsistency in RevokeReason::Expired handling that caused
panics when querying spaces that were revoked due to expiration.

Root cause: Expired revocations only removed Outpoint->Spaceout mapping
but left Space->Outpoint mapping, creating inconsistent state.

Changes:
- Remove Space->Outpoint mapping in Expired revocation handler
- Handle inconsistencies gracefully in get_space_info by returning None
  and cleaning up orphaned Space->Outpoint mappings instead of panicking
Fix data inconsistency handling in prepare_open that caused panics
when opening spaces that were revoked due to expiration.

Root cause: When an outpoint exists but spaceout doesn't (due to
inconsistent state from Expired revocations), the code would panic
with 'spaceout exists' instead of handling it gracefully.

Changes:
- Replace expect() with match statement to handle None case
- Treat missing spaceout as new space (space was revoked, so it's
  effectively not registered anymore)
@Ximik Ximik changed the base branch from main to subspaces December 29, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants