Skip to content

Add gaurdian signature #1

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

Merged
merged 14 commits into from
Jun 4, 2025
Merged

Add gaurdian signature #1

merged 14 commits into from
Jun 4, 2025

Conversation

danimhr
Copy link
Collaborator

@danimhr danimhr commented Jun 3, 2025

This PR implements signature generation for a Wormhole guardian using price update messages from Pythnet.

Copy link
Collaborator

@ali-bahjati ali-bahjati left a comment

Choose a reason for hiding this comment

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

This is great. Most of my comments are minor and are suggestions. I like you to address them but some of them can be done in subsequent PRs.

rustfmt.toml Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

not for this PR but there was a long running debate to remove this format and use standard format for more consistency. We have removed it in pyth-crosschain and i think it's better to remove it here (in another PR)

src/main.rs Outdated
}
}

tokio::spawn(async move {
Copy link
Collaborator

Choose a reason for hiding this comment

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

any reason you do it in another task?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think unsubscribing is not that important. Just wanted to start the connection asap

@danimhr danimhr merged commit 5aaa580 into main Jun 4, 2025
1 check passed
@danimhr danimhr deleted the feat/sign-message branch June 4, 2025 14:30
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