Skip to content
Merged
Changes from 3 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
9 changes: 9 additions & 0 deletions governance/pyth_staking_sdk/src/pyth-staking-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,15 @@ export class PythStakingClient {
);
}

instructions.push(
await this.stakingProgram.methods
.mergeTargetPositions({ voting: {} })
.accounts({
stakeAccountPositions,
})
.instruction(),
);

instructions.push(
await this.stakingProgram.methods
.createPosition(
Expand Down
Loading