-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[zk-token-sdk] Refactor zk-token-elgamal
pod types
#31814
[zk-token-sdk] Refactor zk-token-elgamal
pod types
#31814
Conversation
Codecov Report
@@ Coverage Diff @@
## master #31814 +/- ##
=========================================
- Coverage 81.9% 81.9% -0.1%
=========================================
Files 738 744 +6
Lines 205902 205902
=========================================
- Hits 168705 168644 -61
- Misses 37197 37258 +61 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the module moves look good! Thanks for doing them in separate commits; made my job easy.
Can we sneak in these 2 comment abbreviation fixes?
Co-authored-by: Tyera <[email protected]>
}; | ||
pub use { | ||
auth_encryption::AeCiphertext, | ||
bytemuck::{Pod, Zeroable}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incidentally, why do we re-export these traits?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bytemuck version on the monorepo and spl side do not always match, so I had some issues before without re-exporting these traits. I can't seem to reproduce it or recall what the precise issue was right now though ... 😕
Problem
The
zk-token-elgamal
submodule contains pod types for various types inzk-token-sdk
. Currently, all pod types live in the singlepod.rs
, which could be broken into separate submodules.Summary of Changes
Break up the pod types into separate submodules within
zk-token-elgamal
.This addresses step 1 of #31813,
Fixes #