Skip to content

Conversation

@reject-i
Copy link

Description

Replace Vec::insert with resize+direct assignment in extend_additional_data to avoid shifting existing offsets in the Pedersen verified-address cache.

@gabrielbosio
Copy link
Collaborator

Hi @reject-i, this PR looks good, please add the following:

  • The changelog entry for the changes included in this PR
  • A test case that calls extend_additional_data would fail in main but passes in this branch

@gabrielbosio
Copy link
Collaborator

Hi, @reject-i! What's the status of this PR?

@reject-i
Copy link
Author

Hey! Sorry for the late reply, I’ll resolve this as soon as possible.

@reject-i
Copy link
Author

@gabrielbosio ready for review

* fix: rename y_cube_int to y_square_int in get_point_from_x [#2271](https://github.com/lambdaclass/cairo-vm/pull/2271)

* fix: correct duplicate tuple index in InvalidTrackingGroup error message [#2276](https://github.com/lambdaclass/cairo-vm/pull/2276)
* fix: preserve verified offset flags in `HashBuiltinRunner::extend_additional_data` [#2269](https://github.com/lambdaclass/cairo-vm/pull/2269)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should append the changelog entry, not replace it with the entries of the upcoming changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants