From 09f7d0da94e40c6c035225f71669a6b0d49e74d3 Mon Sep 17 00:00:00 2001 From: John Letey Date: Fri, 10 Mar 2023 16:14:29 +0100 Subject: [PATCH] chore: prepare `v1.0.0` release (#15) (cherry picked from commit e663b543816dbcdc1a942dae9d2aa6283f59e10e) --- .github/README.md | 2 +- CHANGELOG.md | 6 +++ Makefile | 7 ++- cmd/kyved/config.go | 5 ++- docs/swagger.yml | 105 +++++++++++++++++++++++++++++++++++--------- proto/Dockerfile | 2 +- 6 files changed, 99 insertions(+), 28 deletions(-) diff --git a/.github/README.md b/.github/README.md index e47442fc..d0c3e98f 100644 --- a/.github/README.md +++ b/.github/README.md @@ -1,6 +1,6 @@ # The KYVE Network -###### v1.0.0-rc1 +###### v1.0.0 The KYVE consensus layer is the backbone of the KYVE ecosystem. The layer is a sovereign Delegated Proof of Stake network built using the diff --git a/CHANGELOG.md b/CHANGELOG.md index d33c91d0..27dee1ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,8 +14,14 @@ ## [Unreleased] +## [v1.0.0](https://github.com/KYVENetwork/chain/releases/tag/v1.0.0) - 2023-03-10 + +Release for the KYVE network launch. + ## [v1.0.0-rc1](https://github.com/KYVENetwork/chain/releases/tag/v1.0.0-rc1) - 2023-03-07 +Second `v1.0.0` release candidate for a Kaon network upgrade. + ### Improvements - (deps) [#3](https://github.com/KYVENetwork/chain/pull/3), [#7](https://github.com/KYVENetwork/chain/pull/7) Bump Cosmos SDK to [v0.46.10](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.10) ([`v0.46.10-kyve-rc0`](https://github.com/KYVENetwork/cosmos-sdk/releases/tag/v0.46.10-kyve-rc0)). diff --git a/Makefile b/Makefile index 2e251059..b0da6c4a 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,11 @@ COMMIT := $(shell git log -1 --format='%H') -VERSION := v1.0.0-rc1 # $(shell echo $(shell git describe --tags) | sed 's/^v//') +VERSION := v1.0.0 # $(shell echo $(shell git describe --tags) | sed 's/^v//') DENOM ?= ukyve TEAM_TGE ?= 2023-03-14T14:03:14 TEAM_ALLOCATION ?= 165000000000000 -# TODO(@john): Update these to the mainnet parameters. -TEAM_FOUNDATION_ADDRESS ?= kyve1vut528et85755xsncjwl6dx8xakuv26hxgyv0n -TEAM_BCP_ADDRESS ?= kyve1vut528et85755xsncjwl6dx8xakuv26hxgyv0n +TEAM_FOUNDATION_ADDRESS ?= kyve1xjpl57p7f49y5gueu7rlfytaw9ramcn5zhjy2g +TEAM_BCP_ADDRESS ?= kyve1fnh4kghr25tppskap50zk5j385pt65tyyjaraa ifeq ($(ENV),kaon) $(info 📑 Using Kaon environment...) DENOM := tkyve diff --git a/cmd/kyved/config.go b/cmd/kyved/config.go index b9a7fa9f..35df4c1d 100644 --- a/cmd/kyved/config.go +++ b/cmd/kyved/config.go @@ -1,6 +1,9 @@ package main import ( + "fmt" + + globalTypes "github.com/KYVENetwork/chain/x/global/types" serverCfg "github.com/cosmos/cosmos-sdk/server/config" sdk "github.com/cosmos/cosmos-sdk/types" tmCfg "github.com/tendermint/tendermint/config" @@ -8,7 +11,7 @@ import ( func initAppConfig() (string, *serverCfg.Config) { cfg := serverCfg.DefaultConfig() - cfg.MinGasPrices = "0.001tkyve" + cfg.MinGasPrices = fmt.Sprintf("0.001%s", globalTypes.Denom) return serverCfg.DefaultConfigTemplate, cfg } diff --git a/docs/swagger.yml b/docs/swagger.yml index 3fdb3da3..b5bc14ee 100644 --- a/docs/swagger.yml +++ b/docs/swagger.yml @@ -391,6 +391,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -430,7 +434,6 @@ paths: name "y.z". - JSON @@ -855,6 +858,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -894,7 +901,6 @@ paths: name "y.z". - JSON @@ -1191,6 +1197,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -1230,7 +1240,6 @@ paths: name "y.z". - JSON @@ -1422,6 +1431,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -1461,7 +1474,6 @@ paths: name "y.z". - JSON @@ -1640,6 +1652,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -1679,7 +1695,6 @@ paths: name "y.z". - JSON @@ -1875,6 +1890,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -1914,7 +1933,6 @@ paths: name "y.z". - JSON @@ -2099,6 +2117,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2138,7 +2160,6 @@ paths: name "y.z". - JSON @@ -2343,6 +2364,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2382,7 +2407,6 @@ paths: name "y.z". - JSON @@ -2631,6 +2655,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2670,7 +2698,6 @@ paths: name "y.z". - JSON @@ -2925,6 +2952,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2964,7 +2995,6 @@ paths: name "y.z". - JSON @@ -3242,6 +3272,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -3281,7 +3315,6 @@ paths: name "y.z". - JSON @@ -3531,6 +3564,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -3570,7 +3607,6 @@ paths: name "y.z". - JSON @@ -3798,6 +3834,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -3837,7 +3877,6 @@ paths: name "y.z". - JSON @@ -4329,6 +4368,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -4368,7 +4411,6 @@ paths: name "y.z". - JSON @@ -4788,6 +4830,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -4827,7 +4873,6 @@ paths: name "y.z". - JSON @@ -5281,6 +5326,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -5320,7 +5369,6 @@ paths: name "y.z". - JSON @@ -5808,6 +5856,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -5847,7 +5899,6 @@ paths: name "y.z". - JSON @@ -6290,6 +6341,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -6329,7 +6384,6 @@ paths: name "y.z". - JSON @@ -6724,6 +6778,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -6763,7 +6821,6 @@ paths: name "y.z". - JSON @@ -7270,6 +7327,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -7309,7 +7370,6 @@ paths: name "y.z". - JSON @@ -7707,6 +7767,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -7746,7 +7810,6 @@ paths: name "y.z". - JSON diff --git a/proto/Dockerfile b/proto/Dockerfile index bef5d2da..8c398454 100644 --- a/proto/Dockerfile +++ b/proto/Dockerfile @@ -1,5 +1,5 @@ FROM bufbuild/buf:latest as BUILDER -FROM golang:1.19-alpine +FROM golang:1.20-alpine RUN apk add --no-cache \ nodejs \