Skip to content

Commit e7baefb

Browse files
fix(s4): make chain_id nullable for PENDING transfers (STA-134)
ChainTransfer starts in PENDING state with chain_id = null; it is set during the selectChain() transition to CHAIN_SELECTED. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9fb9760 commit e7baefb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- ============================================================
2+
-- S4 Blockchain & Custody — Fix chain_id nullable for PENDING transfers
3+
-- ChainTransfer starts in PENDING state with chain_id = null;
4+
-- chain_id is set during selectChain() transition to CHAIN_SELECTED.
5+
-- ============================================================
6+
7+
ALTER TABLE chain_transfers ALTER COLUMN chain_id DROP NOT NULL;

0 commit comments

Comments
 (0)