Skip to content

feat(lazer): add governance sources info to state #2927

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 1 commit into from
Aug 7, 2025

Conversation

Riateche
Copy link
Contributor

@Riateche Riateche commented Aug 6, 2025

Summary

  • Move some messages from governance_instruction.proto to state.proto.
  • Add the list of governance sources with permissions and sequence number to Lazer state protobufs.
  • Remove RemoveGovernanceSource. Governance sources cannot be safely removed because governance sequence no has to be retained in the state to protect against replay attacks. It can be fully depermissioned instead.

Rationale

This is part of the Lazer governance implementation.

How has this been tested?

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

@Riateche Riateche requested a review from darunrs as a code owner August 6, 2025 11:50
Copy link

vercel bot commented Aug 6, 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 Aug 7, 2025 9:32am
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 9:32am
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 9:32am
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 9:32am
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 9:32am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 9:32am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 9:32am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 9:32am

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