Bump version to 0.2.1, introduce changelog

This commit is contained in:
Christian Kamm 2022-04-03 08:42:05 +02:00
parent 09ef15f869
commit acd76e8031
6 changed files with 38 additions and 7 deletions

21
CHANGELOG.md Normal file
View File

@ -0,0 +1,21 @@
# Voter Stake Registry Changelog
## v0.2.1 - 2022-4-3
### Program
- Increase the maximum number of lockup periods to 200 * 365 to allow for 200-year cliff and
constant lockups.
- Add a function to compute the guaranteed locked vote power bonus. This is unused by the
program itself, but helpful for programs that want to provide benefits based on a user's
lockup amount and time.
### Other
- Add cli tool to decode voter accounts.
- Update dependencies.
## v0.2.0 - 2022-2-14
- First release.
- Available on devnet at 4Q6WW2ouZ6V3iaNm56MTd5n2tnTm4C5fiH8miFHnAFHo
- In use by the Mango DAO on mainnet at the same address.

4
Cargo.lock generated
View File

@ -3308,7 +3308,7 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
[[package]]
name = "voter-stake-registry"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"anchor-lang",
"anchor-spl",
@ -3331,7 +3331,7 @@ dependencies = [
[[package]]
name = "voter-stake-registry-cli"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"anchor-lang",
"anyhow",

View File

@ -1,6 +1,6 @@
[package]
name = "voter-stake-registry-cli"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
[dependencies]

View File

@ -1,6 +1,6 @@
{
"name": "@blockworks-foundation/voter-stake-registry-client",
"version": "0.2.0",
"version": "0.2.1",
"description": "Client for Voter-stake-registry which is a voter weight addin for Solana's spl-governance program.",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",

View File

@ -1,6 +1,6 @@
[package]
name = "voter-stake-registry"
version = "0.2.0"
version = "0.2.1"
description = "Created with Anchor"
edition = "2018"

View File

@ -1,5 +1,5 @@
export type VoterStakeRegistry = {
"version": "0.2.0",
"version": "0.2.1",
"name": "voter_stake_registry",
"instructions": [
{
@ -1280,12 +1280,17 @@ export type VoterStakeRegistry = {
"code": 6036,
"name": "VaultTokenNonZero",
"msg": ""
},
{
"code": 6037,
"name": "InvalidTimestampArguments",
"msg": ""
}
]
};
export const IDL: VoterStakeRegistry = {
"version": "0.2.0",
"version": "0.2.1",
"name": "voter_stake_registry",
"instructions": [
{
@ -2566,6 +2571,11 @@ export const IDL: VoterStakeRegistry = {
"code": 6036,
"name": "VaultTokenNonZero",
"msg": ""
},
{
"code": 6037,
"name": "InvalidTimestampArguments",
"msg": ""
}
]
};