Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fracpack for Python #801

Merged
merged 34 commits into from
Aug 14, 2024
Merged

Fracpack for Python #801

merged 34 commits into from
Aug 14, 2024

Conversation

swatanabe
Copy link
Collaborator

  • Move ServiceSchema into the main psibase lib and add serveSchema which defines the /schema endpoint (matching rust)
  • Use /schema instead of /pack_action to pack actions in the tests.
  • Rewrite C++ Schema minimization to fix some edge cases that accidentally skipped some types.
  • Standardize MethodNumber hashing to use seahash. Update the crate version, because 2.4 is buggy. Remove cityhash.
  • Generate a json file with test cases for fracpack

…cts from them, (mainly for Object and Struct)
… for them to be different and we're not keeping the uses distinct. Remove consthash (cityhash) dependency.
- With nothing overridden, lookup a replacement or use nested "type"
- Derived for Option should override embedded pack/unpack
- Derived for non-Option should override plain pack/unpack
@James-Mart James-Mart added the Dev Experience Related to the experience of developers label Aug 14, 2024
@swatanabe swatanabe merged commit 9049afd into main Aug 14, 2024
4 checks passed
@swatanabe swatanabe deleted the fracpack-port branch August 14, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Experience Related to the experience of developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants