Skip to content

Commit

Permalink
FIX: payer accounts not writable (#559)
Browse files Browse the repository at this point in the history
* fixed payer not being writable

* chore: update version to 0.3.16
  • Loading branch information
sayantank authored Oct 19, 2022
1 parent 1baaa1c commit 3bbb3cc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/governance-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solana/spl-governance",
"version": "0.3.15",
"version": "0.3.16",
"description": "SPL Governance Client API",
"author": "Solana Maintainers <[email protected]>",
"homepage": "https://github.com/solana-labs/oyster/blob/main/packages/governance-sdk/README.md",
Expand Down Expand Up @@ -48,4 +48,4 @@
"^.+\\.tsx?$": "esbuild-jest"
}
}
}
}
2 changes: 1 addition & 1 deletion packages/governance-sdk/src/governance/withAddSignatory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const withAddSignatory = async (
},
{
pubkey: payer,
isWritable: false,
isWritable: true,
isSigner: true,
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/governance-sdk/src/governance/withCastVote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const withCastVote = async (
},
{
pubkey: payer,
isWritable: false,
isWritable: true,
isSigner: true,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const withCreateGovernance = async (
},
{
pubkey: payer,
isWritable: false,
isWritable: true,
isSigner: true,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const withCreateMintGovernance = async (
},
{
pubkey: payer, // 5
isWritable: false,
isWritable: true,
isSigner: true,
},
{
Expand Down
4 changes: 2 additions & 2 deletions packages/governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@blockworks-foundation/voter-stake-registry-client": "^0.1.6",
"@oyster/common": "0.0.2",
"@project-serum/borsh": "^0.2.2",
"@solana/spl-governance": "0.3.15",
"@solana/spl-governance": "0.3.16",
"@solana/spl-token": "0.1.3",
"@solana/web3.js": "^1.22.0",
"antd": "^4.6.6",
Expand Down Expand Up @@ -83,4 +83,4 @@
"react": "16.13.1",
"react-dom": "16.13.1"
}
}
}

1 comment on commit 3bbb3cc

@vercel
Copy link

@vercel vercel bot commented on 3bbb3cc Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.