Skip to content

Commit b3790eb

Browse files
feat: Remove dangerous function (#4007)
There is a method in the stdlib transcript that could easily confuse developers in the future if we end up reusing/updating the old plonk transcript. It's better to avoid this issue. Co-authored-by: kevaundray <kevtheappdev@gmail.com>
1 parent c89aac1 commit b3790eb

File tree

1 file changed

+0
-7
lines changed
  • barretenberg/cpp/src/barretenberg/stdlib/recursion/transcript

1 file changed

+0
-7
lines changed

barretenberg/cpp/src/barretenberg/stdlib/recursion/transcript/transcript.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,6 @@ template <typename Builder> class Transcript {
360360
return challenge_values[static_cast<size_t>(cache_idx)][static_cast<size_t>(challenge_idx)];
361361
}
362362

363-
barretenberg::g1::affine_element get_group_element(const std::string& element_name) const
364-
{
365-
barretenberg::g1::affine_element value =
366-
barretenberg::g1::affine_element::serialize_from_buffer(&(transcript_base.get_element(element_name))[0]);
367-
return value;
368-
}
369-
370363
group_pt get_circuit_group_element(const std::string& element_name) const
371364
{
372365
int cache_idx = check_group_element_cache(element_name);

0 commit comments

Comments
 (0)