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

Governance: Fix MultiChoice VoteType serialization #561

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ochaloup
Copy link

Creating proposal of the MultiChoice VoteType running against the V3 (the most up-to-date master of solana-program-library) fails with failed to send transaction: Transaction simulation failed: Error processing Instruction 0: invalid instruction data.
As the V2 seems to get the same data structure (https://github.com/solana-labs/solana-program-library/blob/governance-v2.x/governance/program/src/state/proposal.rs#L88) this change should be right for both.

On this change I'm able to process the multichoice proposal creation.

@vercel
Copy link

vercel bot commented Oct 26, 2022

@ochaloup is attempting to deploy a commit to the Solana Team on Vercel.

A member of the Team first needs to authorize it.

@ochaloup ochaloup force-pushed the governance-multichoice-serialization branch from 392cbe2 to a2eb60d Compare October 26, 2022 09:09
@vercel
Copy link

vercel bot commented Oct 29, 2022

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

Name Status Preview Updated
oyster-governance ✅ Ready (Inspect) Visit Preview Oct 29, 2022 at 9:32AM (UTC)

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.

1 participant