You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update MIGRATION_GUIDE.md with status and troubleshooting
- Added migration status table for all 10 precompiles
- Updated decode examples to show recommended approach (direct Decode)
- Added troubleshooting section with common issues and solutions:
* s.precompile.Methods undefined
* s.precompile.ABI undefined
* Too many arguments in calls
* Factory calls with CallArgs
- Added references to Bech32 and Slashing migrations
- Updated examples to be more comprehensive
Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Happy <[email protected]>
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+101-2Lines changed: 101 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,21 @@ This guide explains how to migrate precompile integration tests from the old go-
8
8
9
9
The precompiles have been refactored to use a custom `go-abi` library instead of the standard `go-ethereum/accounts/abi` package. This change requires updates to the test code to work with the new API.
10
10
11
+
## Migration Status
12
+
13
+
| Precompile | Status | Notes |
14
+
|------------|--------|-------|
15
+
|**Bank**| ✅ Complete | Fully migrated, all tests working |
16
+
|**Bech32**| ✅ Complete | Fully migrated, all tests working |
17
+
|**Slashing**| 🟡 Partial | Query tests migrated, integration/tx tests need work |
18
+
|**P256**| ✅ Complete | Already working, no changes needed |
19
+
|**Distribution**| ❌ Pending | Complex test suite, needs migration |
20
+
|**ERC20**| ❌ Pending | Many test files, needs migration |
21
+
|**Gov**| ❌ Pending | Test files exist, needs migration |
0 commit comments