Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 9f394ea

Browse files
authored
Governance: remove rent from the docs (#5949)
* Update instruction.rs remove `rent` from the doc of createXXXGovernance instructions * Update instruction.rs
1 parent 946b96a commit 9f394ea

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

governance/program/src/instruction.rs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,10 @@ pub enum GovernanceInstruction {
154154
/// RealmAuthority)
155155
/// 4. `[signer]` Payer
156156
/// 5. `[]` System program
157-
/// 6. `[]` Sysvar Rent
158-
/// 7. `[signer]` Governance authority
159-
/// 8. `[]` RealmConfig account.
157+
/// 6. `[signer]` Governance authority
158+
/// 7. `[]` RealmConfig account.
160159
/// * PDA seeds: ['realm-config', realm]
161-
/// 9. `[]` Optional Voter Weight Record
160+
/// 8. `[]` Optional Voter Weight Record
162161
CreateGovernance {
163162
/// Governance config
164163
#[allow(dead_code)]
@@ -180,11 +179,10 @@ pub enum GovernanceInstruction {
180179
/// 6. `[signer]` Payer
181180
/// 7. `[]` bpf_upgradeable_loader program
182181
/// 8. `[]` System program
183-
/// 9. `[]` Sysvar Rent
184-
/// 10. `[signer]` Governance authority
185-
/// 11. `[]` RealmConfig account.
182+
/// 9. `[signer]` Governance authority
183+
/// 10. `[]` RealmConfig account.
186184
/// * PDA seeds: ['realm-config', realm]
187-
/// 12. `[]` Optional Voter Weight Record
185+
/// 11. `[]` Optional Voter Weight Record
188186
CreateProgramGovernance {
189187
/// Governance config
190188
#[allow(dead_code)]
@@ -445,7 +443,6 @@ pub enum GovernanceInstruction {
445443
/// 5. `[signer]` Payer
446444
/// 6. `[]` SPL Token program
447445
/// 7. `[]` System program
448-
/// 8. `[]` Sysvar Rent
449446
/// 8. `[signer]` Governance authority
450447
/// 9. `[]` RealmConfig account.
451448
/// * PDA seeds: ['realm-config', realm]
@@ -477,11 +474,10 @@ pub enum GovernanceInstruction {
477474
/// 5. `[signer]` Payer
478475
/// 6. `[]` SPL Token program
479476
/// 7. `[]` System program
480-
/// 8. `[]` Sysvar Rent
481-
/// 9. `[signer]` Governance authority
482-
/// 10. `[]` RealmConfig account.
477+
/// 8. `[signer]` Governance authority
478+
/// 9. `[]` RealmConfig account.
483479
/// * PDA seeds: ['realm-config', realm]
484-
/// 11. `[]` Optional Voter Weight Record
480+
/// 10. `[]` Optional Voter Weight Record
485481
CreateTokenGovernance {
486482
#[allow(dead_code)]
487483
/// Governance config

0 commit comments

Comments
 (0)