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
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
The zk-sdk that ships with agave 2.0 does not provide an easy way to directly construct pod types like PodElGamalPubkey or PodElGamalCiphertext from bytes. As a workaround, in token-2022 and in the confidential transfer ciphertext arithmetic crates, the bytes are converted to strings and then the strings are converted to these pod types (using the fact that the pod types implement FromStr).
Proper constructors for the pod types in the agave repo has been merged (anza-xyz/agave#2711). Once agave 2.1 is released, remove the FromStr workaround and directly use the provided constructors.