Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant