Skip to content

Commit

Permalink
Merge pull request #225 from streamflow-finance/fix/staking-update-au…
Browse files Browse the repository at this point in the history
…thority

Fix/staking update authority
  • Loading branch information
RolginRoman authored Nov 5, 2024
2 parents 6e46c9f + 7e96b9c commit 415bf87
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"packages": [
"packages/*"
],
"version": "7.0.0-alpha.19",
"version": "7.0.0-alpha.20",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/common",
"version": "7.0.0-alpha.19",
"version": "7.0.0-alpha.20",
"description": "Common utilities and types used by streamflow packages.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/distributor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/distributor",
"version": "7.0.0-alpha.19",
"version": "7.0.0-alpha.20",
"description": "JavaScript SDK to interact with Streamflow Airdrop protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/eslint-config",
"version": "7.0.0-alpha.19",
"version": "7.0.0-alpha.20",
"license": "ISC",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/staking/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/staking",
"version": "7.0.0-alpha.19",
"version": "7.0.0-alpha.20",
"description": "JavaScript SDK to interact with Streamflow Staking protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/esm/index.js",
Expand Down
3 changes: 2 additions & 1 deletion packages/staking/solana/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,8 @@ export class SolanaStakingClient {
invariant(invoker, "Undefined invoker publicKey");
const instruction = await rewardPoolProgram.methods
.updatePool(rewardAmount, rewardPeriod)
.accounts({
.accountsPartial({
authority: invoker,
rewardPool,
})
.instruction();
Expand Down
2 changes: 1 addition & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/stream",
"version": "7.0.0-alpha.19",
"version": "7.0.0-alpha.20",
"description": "JavaScript SDK to interact with Streamflow protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "./dist/esm/index.js",
Expand Down

0 comments on commit 415bf87

Please sign in to comment.