diff --git a/CHANGELOG.md b/CHANGELOG.md index b8803a63..8486b828 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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. @@ -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. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 99886e6e..8e3cebfe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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). diff --git a/Makefile b/Makefile index ac105cf8..5c7075c8 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/app/upgrades/v1_5/upgrade.go b/app/upgrades/v1_5/upgrade.go index b53dc75f..aafcbf37 100644 --- a/app/upgrades/v1_5/upgrade.go +++ b/app/upgrades/v1_5/upgrade.go @@ -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, @@ -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{