Commit 8ccfd49
committed
feat: Add comprehensive migration guide from manual Borsh to LUMOS
- Created detailed step-by-step migration guide in /guides
- Includes 10-step migration process with real-world examples
- Binary compatibility verification tests (critical for safety)
- Before/after code comparisons for common patterns
- 3 rollout strategies: Big Bang, Incremental, Shadow Deployment
- Troubleshooting section for 5+ common issues
- TypeScript SDK migration instructions
- CI/CD automation setup
- Rollback plan for emergency situations
- Migration checklist template for tracking progress
Coverage:
- Simple structs, enums (unit/tuple/struct variants)
- Option fields, Vec types, nested structures
- Anchor integration (#[account] macro)
- TypeScript Borsh schema synchronization
- Testing strategies and success metrics
Closes #14 - Migration Guide
Real-world example: NFT Marketplace (15 types, 800 → 200 LOC)1 parent 5cb4f65 commit 8ccfd49
File tree
2 files changed
+864
-10
lines changed- src/content/docs/guides
2 files changed
+864
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
0 commit comments