Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: finalise v1.1.0 upgrade #28

Merged
merged 26 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d15d392
feat!: add support for `security_contact` and `details`; replace `log…
mbreithecker Mar 23, 2023
52a3621
chore: add draft for changelog
mbreithecker Mar 23, 2023
cdd8929
chore: small nits
mbreithecker Mar 23, 2023
bc6b73c
chore: add upgrade migration
mbreithecker Mar 23, 2023
eb3486f
chore: sync main
johnletey Mar 23, 2023
0ae85e6
chore: small nits
johnletey Mar 23, 2023
f456768
chore: add client and api breaking changes to changelog
mbreithecker Mar 23, 2023
0f8c3a0
feat: add events for KYVE governance messages
mbreithecker Mar 24, 2023
bb67325
chore: update debug config balances from 9 to 6 decimals
mbreithecker Mar 24, 2023
8109c23
chore: update changelog
mbreithecker Mar 24, 2023
7e59137
feat: add start undelegation event
mbreithecker Mar 24, 2023
c329865
Merge branch 'main' into max/staker
mbreithecker Mar 31, 2023
6133dc5
Merge branch 'main' into max/events
mbreithecker Mar 31, 2023
0eec135
chore: update spec files
mbreithecker Mar 31, 2023
36109fd
Merge branch 'max/events' into max/test-merge
mbreithecker Apr 5, 2023
7b8226f
chore: WIP re-encode proto fields which got converted to sdk.Dec
mbreithecker Apr 6, 2023
3db2b07
chore: re-encode params to sdk.Dec
mbreithecker Apr 11, 2023
c334c55
chore: pump version to v1.1.0-rc0
mbreithecker Apr 11, 2023
0bcbe30
Merge branch 'main' into max/prepare-v1.1.0
mbreithecker Apr 11, 2023
0848c8c
chore: update changelog
johnletey Apr 11, 2023
6c80515
chore: sync main
johnletey Apr 11, 2023
f1dd6aa
chore: update deps
johnletey Apr 11, 2023
7e2c26d
chore: throw an error for no build env
johnletey Apr 11, 2023
1cc84dc
chore: include ICA updates for Kaon
johnletey Apr 17, 2023
dbc4145
chore: small nits
johnletey Apr 18, 2023
607bc9f
chore: update changelog
johnletey Apr 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
### Improvements

- [#22](https://github.com/KYVENetwork/chain/pull/22) Various minor code improvements, cleanups, and validations.
- (deps) [#21](https://github.com/KYVENetwork/chain/pull/21) Bump Cosmos SDK to [v0.46.11](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.11) ([`v0.46.11-kyve-rc0`](https://github.com/KYVENetwork/cosmos-sdk/releases/tag/v0.46.11-kyve-rc0)).
- (deps) [#21](https://github.com/KYVENetwork/chain/pull/21), [#28](https://github.com/KYVENetwork/chain/pull/28) Bump Cosmos SDK to [v0.46.12](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.12) ([`v0.46.12-kyve`](https://github.com/KYVENetwork/cosmos-sdk/releases/tag/v0.46.12-kyve)).
- (deps) [#21](https://github.com/KYVENetwork/chain/pull/21) Switch to CometBFT from Informal Systems' Tendermint fork.
- (ibc) [#27](https://github.com/KYVENetwork/chain/pull/27) Enable tokens to be sent and received via IBC.

Expand Down
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
COMMIT := $(shell git log -1 --format='%H')
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
TEAM_FOUNDATION_ADDRESS ?= kyve1xjpl57p7f49y5gueu7rlfytaw9ramcn5zhjy2g
TEAM_BCP_ADDRESS ?= kyve1fnh4kghr25tppskap50zk5j385pt65tyyjaraa
TEAM_ALLOCATION := 165000000000000
ifeq ($(ENV),kaon)
$(info 📑 Using Kaon environment...)
DENOM := tkyve
TEAM_TGE := 2023-02-07T14:00:00
TEAM_FOUNDATION_ADDRESS := kyve1vut528et85755xsncjwl6dx8xakuv26hxgyv0n
TEAM_BCP_ADDRESS := kyve1vut528et85755xsncjwl6dx8xakuv26hxgyv0n
else ifeq ($(ENV),mainnet)
$(info 📑 Using mainnet environment...)
DENOM := ukyve
TEAM_TGE := 2023-03-14T14:03:14
TEAM_FOUNDATION_ADDRESS := kyve1xjpl57p7f49y5gueu7rlfytaw9ramcn5zhjy2g
TEAM_BCP_ADDRESS := kyve1fnh4kghr25tppskap50zk5j385pt65tyyjaraa
else
$(info 📑 Using default environment...)
$(error ❌ Please specify a build environment..)
endif

ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=kyve \
Expand Down Expand Up @@ -105,7 +107,7 @@ vet:
### Protobuf ###
###############################################################################

BUF_VERSION=1.15.0
BUF_VERSION=1.17.0

proto-all: proto-format proto-lint proto-gen

Expand Down
7 changes: 6 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,13 @@ func NewKYVEApp(
v11.CreateUpgradeHandler(
app.mm,
app.configurator,
appCodec,
keys[bundlesTypes.StoreKey],
keys[delegationTypes.StoreKey],
keys[stakersTypes.StoreKey],
app.AccountKeeper,
app.StakersKeeper,
app.ICAControllerKeeper,
app.ICAHostKeeper,
app.IBCTransferKeeper,
),
)
Expand Down
7 changes: 5 additions & 2 deletions app/upgrades/v1_1/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ package v1_1
// UpgradeName is the name of this specific software upgrade used on-chain.
const UpgradeName = "v1.1.0"

// MainnetChainID is the Chain ID of KYVE mainnet.
// TestnetChainID is the Chain ID of the KYVE testnet (Kaon).
const TestnetChainID = "kaon-1"

// MainnetChainID is the Chain ID of the KYVE mainnet.
const MainnetChainID = "kyve-1"

// InvestorAccounts is a list of accounts from our second funding round.
Expand Down Expand Up @@ -50,6 +53,6 @@ const (
// This is 6-months after KYVE mainnet launch.
StartTime = 1694649600
// EndTime - Sep 14th, 2025.
// This is 2 years after StartTime.
// This is 2-years after StartTime.
EndTime = 1757808000
)
Loading