Skip to content

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

@vercel
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.

4 participants