From 75d5f34b3ae5d0eec3b15cde1131132745f9385f Mon Sep 17 00:00:00 2001 From: Rahul Kothari Date: Thu, 6 Apr 2023 10:19:33 +0000 Subject: [PATCH] fix serialisation issues with merge/base on ts --- .../aztec3/circuits/abis/rollup/base/base_rollup_inputs.hpp | 4 ++++ .../circuits/abis/rollup/merge/previous_rollup_data.hpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cpp/src/aztec3/circuits/abis/rollup/base/base_rollup_inputs.hpp b/cpp/src/aztec3/circuits/abis/rollup/base/base_rollup_inputs.hpp index d2c4d8db..bdaf8e88 100644 --- a/cpp/src/aztec3/circuits/abis/rollup/base/base_rollup_inputs.hpp +++ b/cpp/src/aztec3/circuits/abis/rollup/base/base_rollup_inputs.hpp @@ -83,8 +83,12 @@ template std::ostream& operator<<(std::ostream& os, BaseRollupInp { return os << "kernel_data:\n" << obj.kernel_data << "\n" + << "start_private_data_tree_snapshot:\n" + << obj.start_private_data_tree_snapshot << "\n" << "start_nullifier_tree_snapshot:\n" << obj.start_nullifier_tree_snapshot << "\n" + << "start_contract_tree_snapshot:\n" + << obj.start_contract_tree_snapshot << "\n" << "low_nullifier_leaf_preimages:\n" << obj.low_nullifier_leaf_preimages << "\n" << "low_nullifier_membership_witness:\n" diff --git a/cpp/src/aztec3/circuits/abis/rollup/merge/previous_rollup_data.hpp b/cpp/src/aztec3/circuits/abis/rollup/merge/previous_rollup_data.hpp index 4c150adc..205e6bea 100644 --- a/cpp/src/aztec3/circuits/abis/rollup/merge/previous_rollup_data.hpp +++ b/cpp/src/aztec3/circuits/abis/rollup/merge/previous_rollup_data.hpp @@ -51,7 +51,7 @@ template std::ostream& operator<<(std::ostream& os, PreviousRollu { return os << "base_or_merge_rollup_public_inputs: " << obj.base_or_merge_rollup_public_inputs << "\n" << "proof: " << obj.proof << "\n" - << "vk: " << obj.vk << "\n" + << "vk: " << *(obj.vk) << "\n" << "vk_index: " << obj.vk_index << "\n" << "vk_sibling_path: " << obj.vk_sibling_path << "\n"; };