Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@terwey
Copy link
Collaborator

@terwey terwey commented Nov 5, 2025

Added CloneScaledOrdersToWallet call in migrateDefaultVenueWalletLocked to copy scaled_orders from old wallet to new wallet
Added DeleteScaledOrdersForWallet call to remove scaled_orders from old wallet
Ensures scaled order audit trail is preserved during wallet changes

terwey and others added 2 commits November 5, 2025 21:46
Add scaled_orders table migration to migrateDefaultVenueWalletLocked:
- Clone scaled_orders from old wallet to new wallet
- Delete scaled_orders associated with old wallet

This ensures the scaled order audit trail is preserved when a user
changes their Hyperliquid wallet address, matching the behavior of
hyperliquid_submissions and hyperliquid_status_history tables.

Fixes Bug #1: Missing scaled_orders in Wallet Migration
@terwey terwey merged commit 51cf587 into codex/extend-cmd/recomma-to-handle-multiple-venues Nov 5, 2025
2 checks passed
@terwey terwey deleted the claude/fix-scaled-orders-wallet-migration-011CUogbE1CwSfpsy7mJXZme branch November 5, 2025 21:21
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