Skip to content

Commit

Permalink
[cli&sdk] bump version to 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Jan 9, 2025
1 parent 330bf27 commit 8b27204
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## TS CLI&SDK [2.0.5](https://github.com/marinade-finance/validator-bonds/compare/v2.0.4...v2.0.5) (2025-01-09)

### Updates

* cli: `claim-withdraw-request` to having option `--stake-account` forcing to claim particular account ([PR#158](https://github.com/marinade-finance/validator-bonds/pull/158))

## TS CLI&SDK [2.0.4](https://github.com/marinade-finance/validator-bonds/compare/v2.0.3...v2.0.4) (2024-10-08)

### Updates
Expand Down
10 changes: 5 additions & 5 deletions packages/validator-bonds-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ added 165 packages in 35s
# to verify installed version
validator-bonds --version
2.0.4
2.0.5
```

To get info on available commands
Expand Down Expand Up @@ -125,7 +125,7 @@ The parameters and their meanings are explained in detail below:
* `--bond-authority`: Refers to any public key with ownership rights. It is recommended to use a ledger or multisig.
This key does not necessarily need to correspond to an existing on-chain account (SOL preloading is unnecessary).
* `--rent-payer`: This account covers the creation cost of the Solana bond account, and it is expected to be the same as the fee payer (default).
The rent cost is `0.00270048` SOL. Note that the `--rent-payer` is unrelated to bond security or "funding," which is addressed through a separate instruction.
The rent cost is `0.002.0.58` SOL. Note that the `--rent-payer` is unrelated to bond security or "funding," which is addressed through a separate instruction.
The bond's security is established by providing a stake account. The lamports in the stake account then corresponds to the SOL amount added to the security of the bond account.
There is no direct payment of SOLs to the bond; it is accomplished solely by allocating stake accounts.
* `--cpmpe`: Cost per mille per epoch, in lamports. How many lamports the validator is willing to pay for every 1000 SOLs delegated.
Expand Down Expand Up @@ -665,7 +665,7 @@ To check where NPM packages are and will be installed:
# Get npm global installation folder
npm list -g
> /usr/lib
> +-- @marinade.finance/validator-bonds-cli@2.0.4
> +-- @marinade.finance/validator-bonds-cli@2.0.5
> ...
# In this case, the `bin` folder is located at /usr/bin
```
Expand All @@ -691,7 +691,7 @@ With this configuration, NPM packages will be installed under the `prefix` direc
npm i -g @marinade.finance/validator-bonds-cli@latest
npm list -g
> ~/.local/share/npm/lib
> `-- @marinade.finance/validator-bonds-cli@2.0.4
> `-- @marinade.finance/validator-bonds-cli@2.0.5
```

To execute the installed packages from any location,
Expand Down Expand Up @@ -850,7 +850,7 @@ Commands:
# Get npm global installation folder
npm list -g
> ~/.local/share/npm/lib
> `-- @marinade.finance/validator-bonds-cli@2.0.4
> `-- @marinade.finance/validator-bonds-cli@2.0.5
# In this case, the 'bin' folder is located at ~/.local/share/npm/bin
# Get validator-bonds binary folder
Expand Down
2 changes: 1 addition & 1 deletion packages/validator-bonds-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"main": "src/index",
"dependencies": {
"@marinade.finance/validator-bonds-sdk": "workspace: ^2.0.5",
"@marinade.finance/validator-bonds-sdk": " ^2.0.5",
"@coral-xyz/anchor": "^0.29.0",
"@marinade.finance/anchor-common": "^2.4.9",
"@marinade.finance/cli-common": "^2.4.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/validator-bonds-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ logger.level = 'debug'
const program = new Command()

program
.version('2.0.4')
.version('2.0.5')
.allowExcessArguments(false)
.configureHelp({ showGlobalOptions: true })
.option(
Expand Down

0 comments on commit 8b27204

Please sign in to comment.