Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto: use DetectionData proto encoding for effect hash #2978

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

redshiftzero
Copy link
Member

@redshiftzero redshiftzero temporarily deployed to smoke-test September 7, 2023 18:52 — with GitHub Actions Inactive
@cronokirby
Copy link
Contributor

With this change everything is done with the protos now, right?

@redshiftzero
Copy link
Member Author

With this change everything is done with the protos now, right?

For the individual transaction fields and actions, that's correct. The only place in the effect hash computation where we don't use the proto is for combining those individual effect hashes together, i.e. in TransactionBody::effect_hash, which makes sense since we want to use the effect hashes of each component instead of the full proto-encoded data.

@conorsch
Copy link
Contributor

conorsch commented Sep 8, 2023

Merging for 60. This is a breaking change, so let's get it in for Monday's release.

@conorsch conorsch merged commit 2c4302c into main Sep 8, 2023
8 checks passed
@conorsch conorsch deleted the detectiondata branch September 8, 2023 17:29
@cratelyn cratelyn added the protobuf-changes Makes changes to the protobuf definitions. label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protobuf-changes Makes changes to the protobuf definitions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants