Commit Graph

50 Commits

Author SHA1 Message Date
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
Levi Schoen
06b434eaff
run cd pipeline on every push to feature branch
only run pipeline if ci was successful
2022-12-12 14:12:26 -05:00
Levi Schoen
aa5e9f6382
add prototype workflows for internal testnet CD (#1415)
* add prototype workflows for internal testnet CD

* implement reset-chain-state cd job

* implement start-chain cd workflow
2022-12-08 12:30:12 -05:00
Levi Schoen
35041fd909
add skeleton workflow for cd to internal testnet (#1413)
* add skeleton workflow for cd to internal testnet

* double quote workflow name to prevent splatting / expansion

* allow for manually running internal testnet cd workflow
2022-11-30 18:52:03 -05:00
Levi Schoen
f167c4b562 checkout sources and install golang in ci publish job 2022-11-30 14:50:04 -08:00
Levi Schoen
99fe50219d fix ci workflow order 2022-11-30 14:35:33 -08:00
Levi Schoen
644bd0acec template and re-use ci workflows 2022-11-30 14:20:38 -08:00
Nick DeLuca
252fafa53a
Fix remote check proto breaking when not branching from master (#1409)
* fix check remote breaking when not branching from master -- always use
current git branch when ref'ing

* fix remote command when overridden
2022-11-30 11:48:00 -07:00
Nick DeLuca
a4de1b7fb7
Update proto breaking CI check to pass on release branches (#1407)
* modify proto check breaking to check against the previous commit by
default

* add additional proto breaking check for pull requests to master

* always check proto breaking against target branch when making a pull
request
2022-11-30 11:02:16 -07:00
Levi Schoen
3a766030a3
github action for ci (#1398)
* add workflow for CI on PRs to master or release branch, and every push to master

* sprint demo
2022-11-29 15:22:48 -05:00
Nick DeLuca
d5dcfe73b2
Refactor Buf Usage (#1399)
* start makefile refactor to smaller units; break out proto-dep updating;
add check-proto-deps target for use in CI in order to determine if
depdencies have diverged

* add proto check workflow

* download go modules before checking proto deps

* clean up -- hide output and add error message for check target

* add error message for check-rsync

* update any type, and ibc-go protos for v3.4.0

* add buf generate files for gogo, docs, and swagger

* update swagger dirs and run with latest swagger gen

* ignore new build directories

* refactor proto makefile logic -- use buf instead of scripts

* remove old protobuf scripts

* run all proto checks on push

* remove moved file

* set default value for protoc machine

* install build deps seperately

* fetch master for buf check breaking

* checkout from https url in CI for buf breaking

* fix rsync file permissions on darwin

* ignore build dirs

* fix issue with apple provided make; clean up build deps; switch to buf
format

* remove clang format file -- using buf format now

* run make proto-format (buf format changes)

* update generated files for proto format changes
2022-11-22 16:22:07 -07:00