Skip to content

Commit

Permalink
feat: Remove dangerous function (#4007)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rumata888 and kevaundray authored Jan 16, 2024
1 parent c89aac1 commit b3790eb
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,13 +360,6 @@ template <typename Builder> class Transcript {
return challenge_values[static_cast<size_t>(cache_idx)][static_cast<size_t>(challenge_idx)];
}

barretenberg::g1::affine_element get_group_element(const std::string& element_name) const
{
barretenberg::g1::affine_element value =
barretenberg::g1::affine_element::serialize_from_buffer(&(transcript_base.get_element(element_name))[0]);
return value;
}

group_pt get_circuit_group_element(const std::string& element_name) const
{
int cache_idx = check_group_element_cache(element_name);
Expand Down

0 comments on commit b3790eb

Please sign in to comment.