@@ -285,16 +285,16 @@ pub enum GovernanceInstruction {
285
285
/// 0. `[writable]` Realm account
286
286
/// 1. `[writable]` Governance account
287
287
/// 2. `[writable]` Proposal account
288
- /// 4 . `[writable]` TokenOwnerRecord of the Proposal owner
289
- /// 3 . `[writable]` TokenOwnerRecord of the voter. PDA seeds: ['governance',realm, governing_token_mint, governing_token_owner]
290
- /// 4 . `[signer]` Governance Authority (Token Owner or Governance Delegate)
291
- /// 5 . `[writable]` Proposal VoteRecord account. PDA seeds: ['governance',proposal,governing_token_owner_record]
292
- /// 6 . `[]` Governing Token Mint
293
- /// 7 . `[signer]` Payer
294
- /// 8 . `[]` System program
295
- /// 9 . `[]` Realm Config
296
- /// 10 . `[]` Optional Voter Weight Record
297
- /// 11 . `[]` Optional Max Voter Weight Record
288
+ /// 3 . `[writable]` TokenOwnerRecord of the Proposal owner
289
+ /// 4 . `[writable]` TokenOwnerRecord of the voter. PDA seeds: ['governance',realm, governing_token_mint, governing_token_owner]
290
+ /// 5 . `[signer]` Governance Authority (Token Owner or Governance Delegate)
291
+ /// 6 . `[writable]` Proposal VoteRecord account. PDA seeds: ['governance',proposal,governing_token_owner_record]
292
+ /// 7 . `[]` Governing Token Mint
293
+ /// 8 . `[signer]` Payer
294
+ /// 9 . `[]` System program
295
+ /// 10 . `[]` Realm Config
296
+ /// 11 . `[]` Optional Voter Weight Record
297
+ /// 12 . `[]` Optional Max Voter Weight Record
298
298
CastVote {
299
299
#[ allow( dead_code) ]
300
300
/// User's vote
@@ -333,9 +333,10 @@ pub enum GovernanceInstruction {
333
333
/// The actual transaction being executed will be signed by Governance PDA the Proposal belongs to
334
334
/// For example to execute Program upgrade the ProgramGovernance PDA would be used as the singer
335
335
///
336
- /// 0. `[writable]` Proposal account
337
- /// 1. `[writable]` ProposalTransaction account you wish to execute
338
- /// 2+ Any extra accounts that are part of the transaction, in order
336
+ /// 0. `[]` Governance account
337
+ /// 1. `[writable]` Proposal account
338
+ /// 2. `[writable]` ProposalTransaction account you wish to execute
339
+ /// 3+ Any extra accounts that are part of the transaction, in order
339
340
ExecuteTransaction ,
340
341
341
342
/// Creates Mint Governance account which governs a mint
0 commit comments