Skip to content

Commit

Permalink
chore: prepare v1.5 (#206)
Browse files Browse the repository at this point in the history
Co-authored-by: Troy Kessler <troy.kessler99@gmail.com>
  • Loading branch information
mbreithecker and troykessler authored Jul 5, 2024
1 parent 781bd00 commit 3910277
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 8 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

An '!' indicates a state machine breaking change.

## [Unreleased]
## [v1.5.0](https://github.com/KYVENetwork/chain/releases/tag/v1.5.0) - 2024-07-05

### Features

Expand All @@ -29,6 +29,7 @@ An '!' indicates a state machine breaking change.

### Improvements

- [#199](https://github.com/KYVENetwork/chain/pull/199) Align events naming.
- ! (deps) [#198](https://github.com/KYVENetwork/chain/pull/198) Bump ibc version to v8.3.1.
- (deps) [#197](https://github.com/KYVENetwork/chain/pull/197) Bump to CosmosSDK v0.50.7
- ! (`x/pool`) [#190](https://github.com/KYVENetwork/chain/pull/190) Make inflation-share-weight a decimal.
Expand All @@ -41,8 +42,9 @@ An '!' indicates a state machine breaking change.

### Bug Fixes

- [#194](https://github.com/KYVENetwork/chain/pull/194) fix: return correct result for legacy rpc block_results request
- [#192](https://github.com/KYVENetwork/chain/pull/192) fix: Cosmos-SDK & IBC swagger-code generation.
- ! (deps) [#203](https://github.com/KYVENetwork/chain/pull/203) Use newest IAVL version to prevent pruning error.
- [#194](https://github.com/KYVENetwork/chain/pull/194) Return correct result for legacy rpc block_results request.
- [#192](https://github.com/KYVENetwork/chain/pull/192) Cosmos-SDK & IBC swagger-code generation.
- (`x/query`) [#159](https://github.com/KYVENetwork/chain/pull/159) Add pool params back to kyve params query.
- (`x/query`) [#160](https://github.com/KYVENetwork/chain/pull/160) Add funders back to pool query.
- [#163](https://github.com/KYVENetwork/chain/pull/163) Add back swagger UI for KYVE and Cosmos REST queries.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ If a major chain upgrade is planned, the additional checks must be done:
## Legal

You agree that your contribution is licenced under the MIT Licence and all
ownership is handed over the authors named in [LICENSE](https://github.com/KYVENetwork/chain/blob/main/LICENSE).
ownership is handed over to the authors named in [LICENSE](https://github.com/KYVENetwork/chain/blob/main/LICENSE).
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GO_VERSION := $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1,2)
# VERSION := $(shell echo $(shell git describe --tags) | sed 's/^v//')
VERSION := v1.5.0

BUILD_TIME := 202405060800.00 # format [[CC]YY]MMDDhhmm[.ss]
BUILD_TIME := 202407040800.00 # format [[CC]YY]MMDDhhmm[.ss]

TEAM_ALLOCATION := 165000000000000
ifeq ($(ENV),kaon)
Expand Down
23 changes: 20 additions & 3 deletions app/upgrades/v1_5/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,35 @@ func migrateOldGovProposals(sdkCtx sdk.Context, cdc codec.Codec, govStoreKey sto

func migrateFundersModule(sdkCtx sdk.Context, cdc codec.Codec, fundersStoreKey storetypes.StoreKey, fundersKeeper fundersKeeper.Keeper) {
// migrate params
// TODO: define final prices and initial whitelisted coins
oldParams := v1_4_funders.GetParams(sdkCtx, cdc, fundersStoreKey)

newParams := fundersTypes.Params{
CoinWhitelist: []*fundersTypes.WhitelistCoinEntry{
// Prices were obtained on 03.07.2024

// KYVE
{
CoinDenom: globalTypes.Denom,
CoinDecimals: uint32(6),
MinFundingAmount: math.NewIntFromUint64(oldParams.MinFundingAmount),
MinFundingAmountPerBundle: math.NewIntFromUint64(oldParams.MinFundingAmountPerBundle),
CoinWeight: math.LegacyMustNewDecFromStr("0.06"),
CoinWeight: math.LegacyMustNewDecFromStr("0.0358"),
},
// Andromeda
{
CoinDenom: "ibc/58EDC95E791161D711F4CF012ACF30A5DA8DDEB40A484F293A52B1968903F643",
CoinDecimals: uint32(6),
MinFundingAmount: math.NewInt(1000_000_000),
MinFundingAmountPerBundle: math.NewInt(100_000),
CoinWeight: math.LegacyMustNewDecFromStr("0.1007"),
},
// Source Protocol
{
CoinDenom: "ibc/0D2ABDF58A5DBA3D2A90398F8737D16ECAC0DDE58F9792B2918495D499400672",
CoinDecimals: uint32(6),
MinFundingAmount: math.NewInt(1000_000_000),
MinFundingAmountPerBundle: math.NewInt(100_000),
CoinWeight: math.LegacyMustNewDecFromStr("0.0207"),
},
},
MinFundingMultiple: oldParams.MinFundingMultiple,
Expand Down Expand Up @@ -292,7 +310,6 @@ func migrateStakersModule(sdkCtx sdk.Context, cdc codec.Codec, stakersStoreKey s
func migrateBundlesModule(sdkCtx sdk.Context, cdc codec.Codec, bundlesStoreKey storetypes.StoreKey, bundlesKeeper bundlesKeeper.Keeper) {
oldParams := v1_4_bundles.GetParams(sdkCtx, cdc, bundlesStoreKey)

// TODO: define final storage cost prices
newParams := bundlesTypes.Params{
UploadTimeout: oldParams.UploadTimeout,
StorageCosts: []bundlesTypes.StorageCost{
Expand Down

0 comments on commit 3910277

Please sign in to comment.