Commit Graph

60 Commits

Author SHA1 Message Date
0g-wh
30728b75e9
fix wasm static link (#57)
Some checks failed
Continuous Integration (Commit) / lint (push) Has been cancelled
2024-08-05 23:11:18 +08:00
0g-wh
e8e2e3abd3
Update upload-release-assets.yml 2024-08-05 09:53:17 +08:00
0g-wh
14ca626365 add Upload Release Assets workflow (#49)
* Create upload-release-assets.yml
2024-08-03 15:05:14 +08:00
Levi Schoen
cf2d83b020
consolidate conditional for internal testnet cd 2024-03-07 13:56:34 -08:00
Levi Schoen
322f2ac056
only deploy internal testnet if deploy version or genesis state changes (#1842) 2024-03-07 15:44:42 -05:00
Levi Schoen
ad03a75679
emulate block broadcast mode in seed scripts (#1824) 2024-02-08 18:32:44 -05:00
Levi Schoen
45aa631f18
allow for running manual cd for protonet ad hoc (#1821) 2024-02-07 14:18:53 -05:00
Draco
614d4e40fe
Update cosmos-sdk to v0.47.7 (#1811)
* Update cometbft, cosmos, ethermint, and ibc-go

* Replace github.com/tendermint/tendermint by github.com/cometbft/cometbft

* Replace github.com/tendermint/tm-db by github.com/cometbft/cometbft-db

* Replace gogo/protobuf with cosmos/gogoproto & simapp replacement

* Replace cosmos-sdk/simapp/helpers with cosmos-sdk/testutil/sims

* Remove no longer used simulations

* Replace ibchost with ibcexported
See https://github.com/cosmos/ibc-go/blob/v7.2.2/docs/migrations/v6-to-v7.md#ibc-module-constants

* Add new consensus params keeper

* Add consensus keeper to blockers

* Fix keeper and module issues in app.go

* Add IsSendEnabledCoins and update SetParams interface changes

* Fix protobuf build for cosmos 47 (#1800)

* fix cp errors by using -f; fix lint by only linting our proto dir;
and use proofs.proto directly from ics23 for ibc-go v7

* run proto-all; commit updated third party deps and swagger changes

* regenerate proto files

* use correct gocosmos build plugin for buf

* re-gen all protobuf files to update paths for new gocosmos plugin

* update protoc and buf to latest versions

* fix staking keeper issues in app.go

* update tally handler for gov changes

* chain id fix and flag fixes

* update deps for cometbft 47.7 upgrade

* remove all module legacy queriers

* update stakingKeeper to pointer

* Replace ModuleCdc from govv1beta1 to govcodec

* remove simulations

* abci.LastCommitInfo → abci.CommitInfo

* Remove unused code in keys.go

* simapp.MakeTestEncodingConfig -> moduletestutil.MakeTestEncodingConfi

* Fix chain id issues in tests

* Fix remaining unit test issues

* Update changelog for upgrade

* Fix e2e tests using updated kvtool

* Update protonet to v47 compatible genesis

* Bump cometbft-db to v0.9.1-kava.1

* Update kvtool

* Remove extra changelog

* Fix merged rocksdb issues

* go mod cleanup

* Bump cometbft-db to v9 and go to 1.21

* Bump rocksdb version to v8.10.0

* Update kvtool to latest version

* Update gin to v1.9.0

* Use ibctm.ModuleName in app_test

* Fallback to genesis chain id instead of client toml

* Remove all simulations

* Fix cdp migrations issue with v47

* Update dependencies to correct tags

---------

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2024-02-06 17:54:10 -05:00
Levi Schoen
7b5de0a12a
add github action for manually triggering protonet cd (#1815) 2024-01-24 18:12:34 -05:00
Robert Pirtle
967c6857e8
ci: update CI workflows and pipelines (#1768)
* build & publish rocksdb docker images merge to master
* publish docker images on push of release version tags

NOTE: New docker image tag pattern. ALL tags now include database suffix
ex. <githash>-goleveldb, v0.25.0-alpha.1-rocksdb, master-rocksdb, etc

* update dockerfiles for better caching
* update all github action workflow versions
* improve caching of go packages
* cache docker image layers for reuse between runs
* update dockerignore to remove non-essential files
2023-11-08 14:06:03 -08:00
drklee3
8186367c8b
feat(community): consolidate community funds (#1729)
* Add consolidate methods

* Update distr feepool balance with dust, add tests

* Set params for proposal handler to not influence module balances

* Add StakingRewardsPerSecond param for proposal test

* Update changelog

* Update test to check emitted events

* Log dust amounts for x/distribution

* Modify feepool communitypool field instead of entire replacement

* Update tests to include cases with empty balances

* Move EventsContains to app

* Remove extra copied ModuleName

* Add Require() to incentive claims in tests to reduce errors

* Move consolidate tests to testutil

* Only transfer non-ukava coins

* Add DefaultStakingRewardsState to proposal handler test

* Move event emit before consolidate

* add golangci specific timeout

---------

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2023-10-20 09:18:37 -07:00
Evgeniy Scherbina
a967d2fdda
Update rocksdb version in ci-master workflow (#1665) 2023-08-22 12:44:39 -04:00
Evgeniy Scherbina
90fbe1aad7
Make rocksdb configurable (#1658)
* Make rocksdb configurable

* Make sure rocksdb tests are running in CI

* Updating ci-rocksdb-build workflow

* Remove test.sh

* Update tm-db dependency
2023-08-22 11:24:48 -04:00
Robert Pirtle
8495619130
docs: update mainnet kava version (#1597)
* docs: update mainnet kava version

* ci: reenable breaking proto checks
2023-05-23 12:38:46 -07:00
Robert Pirtle
d4cbc759f8
update new names, NativeCoin -> CosmosCoin (#1596)
* rename contract NativeCoin -> CosmosCoin

* rename all entities NativeCoin -> CosmosCoin

* update changelog

* update protonet genesis.json
2023-05-23 12:32:27 -07:00
Nick DeLuca
165ec7bff0
update golang from 1.19 to 1.20, the recommended version for kava 13 (#1571)
mainnet and testnet
2023-05-03 16:16:47 -07:00
Robert Pirtle
250801dd77
fix ci & sort denoms in internal testnet genesis coins (#1580)
* fix internal genesis validation ci

* sort coins in internal testnet genesis
2023-04-27 07:49:55 -07:00
Robert Pirtle
a739e42009
ci: run CI test suite against release branches (#1578) 2023-04-24 12:53:29 -07:00
Levi Schoen
1dda67312e dynamically set default contract addresses for bridged asset in testnet seed scripts 2023-04-14 11:00:50 -07:00
Levi Schoen
ea9668cd00
run manual internal testnet job everytime it is triggered 2023-04-13 14:30:12 -04:00
Levi Schoen
d671c29c10 add manually triggerable cd job for internal testnet 2023-04-13 10:45:45 -07:00
Paul Downing
22231db05a
update kava version to the correct current commit (#1552)
* update kava version to the correct current commit

https://github.com/Kava-Labs/kava/pull/1551/files used the id instead of the commit hash 😞 
Use the commit hash not the id

* use eternal release tag

* use kava version for current commit when validating internal testnet genesis

---------

Co-authored-by: Levi Schoen <levismschoen@gmail.com>
2023-04-13 03:34:52 -05:00
Levi Schoen
580742ad35 fix: always use latest seed script when seeding chains 2023-04-12 14:03:12 -07:00
Levi Schoen
e89a37c503
fix: cd-seed-chain.yml syntax 2023-04-06 16:59:32 -04:00
Levi Schoen
03a897216a fix: use matching kava version when running seed script against a network 2023-04-06 13:55:29 -07:00
Levi Schoen
1c09ae98ae validate internal testnet genesis using matching kava version 2023-04-06 12:34:06 -07:00
Levi Schoen
8ad7fdd59c fix: remove diff check logic on internal testnet cd 2023-04-06 11:28:26 -07:00
Levi Schoen
91e7933a55 add and use separate seed scripts for internal testnet and protonet 2023-04-06 10:25:11 -07:00
drklee3
bdf7a4d2a0
ci: Use rocksdb v7.10.2 and go 1.19 (#1534)
* ci: Use go 1.19 and rocksdb 7.9.2

* Use rocksdb v7.10.2 to match other workflow
2023-04-05 16:43:27 -07:00
Levi Schoen
17bfd760c4 Use cometbft-db fork
ci: check support for building kava binary with rocksdb
2023-04-05 15:33:21 -07:00
Levi Schoen
c7f26e47e4 feat: only deploy to internal testnet if version or genesis change 2023-04-04 15:33:25 -07:00
Levi Schoen
4eab834704 fix: run protonet specific reset playbook for protonet cd 2023-04-03 14:42:13 -07:00
Levi Schoen
b4e11eb8cd feat: add continuous deployment for protonet 2023-04-03 10:04:12 -07:00
Robert Pirtle
37b1b5fa5e
Add IBC chain to E2E test suite (#1486)
* add kvtool as a subrepo

* use kvtool instead of hardcoded configurations

* encapsulate chain port numbers

* refactor query clients

* include ibc in test suite

* track & create accounts per chain

* setup test suite env & toggle for IBC tests

* support different denoms on different chains

* add E2E_SKIP_SHUTDOWN flag

* test ibc transfer of funds!

* include submodules in necessary github checkout action

* update readme w/ details about e2e git submodules
2023-03-07 14:37:45 -08:00
Levi Schoen
9505d45e4d validate testnet genesis as part of ci 2023-02-27 14:05:48 -08:00
Robert Pirtle
34c5d1ecd5
add e2e tests to ci pipeline (#1476)
* add e2e tests to ci pipeline

* enable DOCKER_BUILDKIT
2023-02-22 16:13:11 -08:00
Draco
d3930fff91
tag geth to v1.10.26 (#1471) 2023-02-13 14:12:30 -05:00
Robert Pirtle
f9b353753c
update x/community specs for v0.21 release (#1462)
* update x/community docs for v0.21 release

* auto-approve proposal submission in seed script

* update to v2 of go linting CI job
2023-01-30 10:09:26 -08:00
Robert Pirtle
e4b4a7c62e
explicitly enumerate internal testnet validators (#1443) 2022-12-21 13:06:02 -08:00
Robert Pirtle
66a60fa6d8
seed dev-wallet power on internal testnet (#1442)
the seed script will issue & delegate enough KAVA to the genesis
validators to have enough power to pass gov proposals by itself.
2022-12-21 11:51:14 -08:00
Levi Schoen
67e1938190 metric workflow status based on overall result 2022-12-20 13:06:05 -08:00
Robert Pirtle
1f6a7d7ae1
update docker hub username in ci (#1439) 2022-12-20 09:28:08 -08:00
Robert Pirtle
dd856bb288
inherit secrets for ci-docker workflow (#1436) 2022-12-16 12:14:04 -08:00
Robert Pirtle
01f507fc1e
add ci action for build & publish to docker hub (#1435) 2022-12-16 12:07:43 -08:00
Levi Schoen
c46d70de46 post metrics for cd run 2022-12-15 14:52:18 -08:00
Levi Schoen
51cdc91782 post metrics for ci runs 2022-12-15 14:52:18 -08:00
Levi Schoen
ebd4571ac8 switch cd pipelines to operate on internal testnet 2022-12-14 13:26:33 -08:00
Levi Schoen
7fb8e3005d
run CD on any push to the development branch 2022-12-14 15:43:04 -05:00
Levi Schoen
a7f3b7732b
use primary branch ref for kava-bridge cd workflow 2022-12-12 19:14:48 -05:00
Levi Schoen
8d713873d7 implement seed-chain cd job for internal testnet 2022-12-12 15:40:22 -08:00