Merge pull request #1198 from mir-protocol/public_values_serde

Made `PublicValues` serializable
This commit is contained in:
BGluth 2023-08-23 14:20:36 -06:00 committed by GitHub
commit 62f271a82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ pub(crate) struct AllChallengerState<F: RichField + Extendable<D>, H: Hasher<F>,
}
/// Memory values which are public.
#[derive(Debug, Clone, Default)]
#[derive(Debug, Clone, Default, Deserialize, Serialize)]
pub struct PublicValues {
pub trie_roots_before: TrieRoots,
pub trie_roots_after: TrieRoots,