Commit 501924e
chore(move-v1-to-v4): correct env var name + anchor V4 pool address
- PROGRAM_ID is the V1 program env (V1 was the original, suffix-less).
Falls back through PROGRAM_ID_V1 first for future-proofing.
- V4_POOL_STATED default anchored to 7My1o9Jfm2D5wM2xfpfy67NPvTPVUTSzWyz7ZxjwPjT4
(derived from lender 4JSSSaG3...zPAx + PROGRAM_ID_V4) so the safety-
assertion fails closed without per-env config.
Dry-run validated against prod state:
V1 totalDeposits=116.91 SOL, totalBorrowed=54.34 SOL, vault=64.47 SOL
Plan: admin_withdraw 1.90 SOL drift + 182×0.1 SOL share-withdrawals
→ deposit 20 SOL into V4
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2cfeeb9 commit 501924e
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
122 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
0 commit comments