Skip to content

feat(pyth-lazer-publisher-sdk): Add Public key to Transactions #2700

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 5 commits into from
May 19, 2025

Conversation

darunrs
Copy link
Contributor

@darunrs darunrs commented May 16, 2025

Summary

Adds public key to transacitons. Expanded signature format to support a much greater set of possible signatures.

Rationale

We are eliminating access tokens in pyth lazer so we need publishers to send public keys to establish identity.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Copy link

vercel bot commented May 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:57pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:57pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:57pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:57pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:57pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:57pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:57pm

Comment on lines -22 to +19
optional bytes payload = 3;
optional bytes payload = 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

for my information, what is the side effect of changing these numbers?

Copy link
Contributor

Choose a reason for hiding this comment

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

It changes the wire format so once the protocol is in use we should never change it. While we're prototyping it doesn't really matter.

@darunrs darunrs merged commit cf61e90 into main May 19, 2025
10 checks passed
@darunrs darunrs deleted the add-public-key branch May 19, 2025 17:36
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