Skip to content

Conversation

giacomobenedetti
Copy link

This version just prints out when an archive has a different hash after applying a stabilizer. Depending on how we want to deal with this info, we can think about a different output

}
newArchiveHash := getArchiveHash(&mr)
if originalArchiveHash != newArchiveHash {
println("Stabilizer taking effect:", currentStabName)
Copy link
Member

Choose a reason for hiding this comment

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

Rather than printing these types, what do you think of collecting them and returning somehow? Eventually we can include the stabilizers used during comparison as part of the attestation.

Copy link
Author

Choose a reason for hiding this comment

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

I agree, collecting them from stderr is not great. Do you have any suggestion?

Copy link
Member

Choose a reason for hiding this comment

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

I think they could be appended to a slice and that slice could be returned by this function

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.

3 participants