Skip to content

fix: stale db-sync table names and dead else - #3604

Merged
mkoura merged 1 commit into
masterfrom
stale_dbsync_names
Aug 11, 2026
Merged

fix: stale db-sync table names and dead else#3604
mkoura merged 1 commit into
masterfrom
stale_dbsync_names

Conversation

@mkoura

@mkoura mkoura commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Use tp.assert_never for the exhaustiveness check in check_epoch_state instead of an unreachable else branch, so adding a new ActionTypes member fails type checking. Fix the copy-pasted "Committee id mismatch" wording in the constitution assert message.

Update the pool_offline_data table name to off_chain_pool_data (renamed in db-sync 13.2) in the SMASH debugging examples.

Use tp.assert_never for the exhaustiveness check in check_epoch_state
instead of an unreachable else branch, so adding a new ActionTypes
member fails type checking. Fix the copy-pasted "Committee id
mismatch" wording in the constitution assert message.

Update the pool_offline_data table name to off_chain_pool_data
(renamed in db-sync 13.2) in the SMASH debugging examples.
@mkoura
mkoura merged commit 746cbd1 into master Aug 11, 2026
3 checks passed
@mkoura
mkoura deleted the stale_dbsync_names branch August 11, 2026 13:01
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.

1 participant