* Move Metadata to api-metadata * Make tests in api-metadata pass * Make tests in api-metadata pass * Refactor fromMetadata into decorated * Fix some linting * Replace headers * Fix all tests * Small lint * Fix tests * Fix metadata docs scripts * Fix import ordering * Add line breaks * Grumbles * Fix forgotten import * rpcMetadata everywhere * Fixlint * s/api-metadata/metadata * Fix latest tests * Fix lint * Fix tests
14 lines
617 B
Markdown
14 lines
617 B
Markdown
# metadata update
|
|
|
|
1. New branch :)
|
|
2. `curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "state_getMetadata", "params":[]}' http://localhost:9933`
|
|
3. Copy the latest version folder (vx) in `types/Metadata`
|
|
3. Copy the result (hex-only) into `static.ts`, as of now linked to `v6/static.ts`
|
|
4. Rust Metadata tests, `yarn run test packages/types/src/Metadata`
|
|
5. Add new class types as required (find missing in Rust code, add)
|
|
6. Add all classes to `src/classes.ts`
|
|
7. Repeat 4-6 until passing
|
|
8. Update parsed JSON to actual output version, `v6/latest.*.json`
|
|
9. All tests
|
|
10. Make PR
|