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

Fix signing of gravity batches #966

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

ToasterTheBrave
Copy link
Contributor

Related Github tickets

Background

This was put off because I didn't fully understand how Compass hashed batches before comparing signatures. Now, I've come back to this and fixed it to sign exactly like Compass expects.

The test used here is using a real example, to ensure it works exactly as expected.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

Tyler Ruppert added 2 commits September 1, 2023 14:27
This was put off because I didn't fully understand how Compass hashed
batches before comparing signatures.  Now, I've come back to this and
fixed it to sign exactly like Compass expects.

The test used here is using a real example, to ensure it works exactly
as expected.
Copy link
Contributor

@taariq taariq left a comment

Choose a reason for hiding this comment

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

LGTM!

@taariq taariq merged commit 5d41df2 into palomachain:master Sep 1, 2023
1 check passed
@taariq taariq deleted the toaster/gravity-signing branch September 1, 2023 20:50
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