Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/js/src/generated/instructions/deactivateDelinquent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export type DeactivateDelinquentInput<
stake: TAccountStake;
/** Delinquent vote account for the delegated stake account */
delinquentVote: TAccountDelinquentVote;
/** Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs */
/** Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs */
referenceVote: TAccountReferenceVote;
};

Expand Down Expand Up @@ -152,7 +152,7 @@ export type ParsedDeactivateDelinquentInstruction<
stake: TAccountMetas[0];
/** Delinquent vote account for the delegated stake account */
delinquentVote: TAccountMetas[1];
/** Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs */
/** Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs */
referenceVote: TAccountMetas[2];
};
data: DeactivateDelinquentInstructionData;
Expand Down
10 changes: 5 additions & 5 deletions clients/rust/src/generated/instructions/deactivate_delinquent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct DeactivateDelinquent {
pub stake: solana_address::Address,
/// Delinquent vote account for the delegated stake account
pub delinquent_vote: solana_address::Address,
/// Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
/// Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
pub reference_vote: solana_address::Address,
}

Expand Down Expand Up @@ -105,7 +105,7 @@ impl DeactivateDelinquentBuilder {
self.delinquent_vote = Some(delinquent_vote);
self
}
/// Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
/// Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
#[inline(always)]
pub fn reference_vote(&mut self, reference_vote: solana_address::Address) -> &mut Self {
self.reference_vote = Some(reference_vote);
Expand Down Expand Up @@ -144,7 +144,7 @@ pub struct DeactivateDelinquentCpiAccounts<'a, 'b> {
pub stake: &'b solana_account_info::AccountInfo<'a>,
/// Delinquent vote account for the delegated stake account
pub delinquent_vote: &'b solana_account_info::AccountInfo<'a>,
/// Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
/// Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
pub reference_vote: &'b solana_account_info::AccountInfo<'a>,
}

Expand All @@ -156,7 +156,7 @@ pub struct DeactivateDelinquentCpi<'a, 'b> {
pub stake: &'b solana_account_info::AccountInfo<'a>,
/// Delinquent vote account for the delegated stake account
pub delinquent_vote: &'b solana_account_info::AccountInfo<'a>,
/// Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
/// Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
pub reference_vote: &'b solana_account_info::AccountInfo<'a>,
}

Expand Down Expand Up @@ -276,7 +276,7 @@ impl<'a, 'b> DeactivateDelinquentCpiBuilder<'a, 'b> {
self.instruction.delinquent_vote = Some(delinquent_vote);
self
}
/// Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
/// Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
#[inline(always)]
pub fn reference_vote(
&mut self,
Expand Down
2 changes: 1 addition & 1 deletion idl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@
"isSigner": false,
"isOptional": false,
"docs": [
"Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs"
"Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs"
],
"display": {
"kind": "instructionAccountDisplayNode",
Expand Down
2 changes: 1 addition & 1 deletion interface-idl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@
"isWritable": false,
"isSigner": false,
"docs": [
"Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs"
"Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs"
],
"display": {
"kind": "instructionAccountDisplayNode",
Expand Down
4 changes: 2 additions & 2 deletions interface/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ pub enum StakeInstruction {
/// # Account references
/// 0. `[WRITE]` Delegated stake account
/// 1. `[]` Delinquent vote account for the delegated stake account
/// 2. `[]` Reference vote account that has voted at least once in the last
/// 2. `[]` Reference vote account that has voted in each of the last
/// `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs
#[cfg_attr(
feature = "codama",
Expand All @@ -571,7 +571,7 @@ pub enum StakeInstruction {
)),
codama(account(
name = "reference_vote",
docs = "Reference vote account that has voted at least once in the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs",
docs = "Reference vote account that has voted in each of the last `MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION` epochs",
display(label = "Reference Vote Account")
))
)]
Expand Down
Loading