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

Governance UI only works with single instruction transactions #1002

Open
nathanleclaire opened this issue Aug 31, 2022 · 0 comments
Open

Governance UI only works with single instruction transactions #1002

nathanleclaire opened this issue Aug 31, 2022 · 0 comments

Comments

@nathanleclaire
Copy link
Contributor

Oyster has support for passing multiple instructions per transaction in governance v2 using withInsertTransaction, but this is not currently supported by Realms UI as it uses getSingleInstruction.

https://github.com/solana-labs/governance-ui/blob/main/actions/executeTransaction.ts#L50

This is what I got after inserting other valid multi-instruction transaction with withInsertTransaction:

image

It can be worked around by inserting multiple single-instruction transactions, but it would be nice to have proper support for this. Filing issue to document.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant