Skip to content

Commit

Permalink
feat(registry-dump): Interpret vec<u8> data in registry structs as co…
Browse files Browse the repository at this point in the history
…rresponding types (#175)

* feat(registry-dump): Interpret vec<u8> data in registry structs as corresponding types

- Instead of expecting from the user to interpret Vec<u8> as principals (somehow), we can do this in the code directly, and show principals as principals
- Make the dump more in line with what ic-admin shows (in ic-admin get-topology)
- Show the node reward table as well
- Use native JSON serialize for the dump, instead of manually crafting the wrapper struct
- Use the same dir that the registry sync uses, to avoid the slow re-downloading the entire mainnet registry on every execution

* clippy and some missing changes
  • Loading branch information
sasa-tomic committed Feb 9, 2024
1 parent 2bbe876 commit 3be2000
Show file tree
Hide file tree
Showing 7 changed files with 293 additions and 509 deletions.

0 comments on commit 3be2000

Please sign in to comment.