Commit Graph

90 Commits

Author SHA1 Message Date
Solovyov1796
b204fc6a1e remove go mod path 2024-08-03 17:51:56 +08:00
mergify[bot]
e96fd1735d
update deps and add mergify config for v0.26.x release branch (backport #1853) (#1854)
* update deps and add mergify config for v0.26.x release branch (#1853)

(cherry picked from commit 7866ee2f74)

# Conflicts:
#	go.sum

* fix go.sum conflicts

---------

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2024-03-22 15:47:47 -07: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
c0df29333b
use broadcast mode sync vs block in cli scripts (#1823) 2024-02-08 14:52:36 -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
Evgeniy Scherbina
f00727fe85
Add release/v0.25.x branch to backporting flow (#1799) 2023-12-21 15:23:59 -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
84776db2d1
Fix protonet (#1694) 2023-09-01 16:27:47 -04:00
Robert Pirtle
0ddc87ad1d
ci: add Mergify config to auto-open backport PRs (#1671)
* ci: add Mergify config to auto-open backport PRs

adding PR labels defined in the mergify.yml will trigger PRs with those
code changes to be automatically opened against the release branch from
the PR label.

* add backport label for all kava_2222-10 versions
2023-08-25 12:20:41 -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
336bac7466
convert sdk.Coin to ERC20 on internal testnet deploy (#1642) 2023-06-23 15:25:21 -07:00
Robert Pirtle
80c8c2c0f0
ci: fix internal testnet evmutil params (#1641)
we never voted on a param change proposal we submitted. now we do so the
proposal actually takes effect.
2023-06-22 11:03:46 -07:00
Robert Pirtle
1c7911aabf
ci: add USDT to internal testnet (#1632) 2023-06-21 16:05:48 -07:00
Adam Robert Turman
4b01b70e0c
clean up missed renaming (#1617) 2023-06-06 13:36:11 -05:00
Adam Robert Turman
0ec64c9378
axlwBTC Lend money market (#1613)
* clean up naming around axlwBTC
reenable lend money market
assign incentives

* Update .github/scripts/seed-protonet.sh

* alphabetical order of denoms

* alphabetical order of denoms

* alphabetical order of denoms pt 3

* alphabetical order of denoms
2023-06-05 18:37:00 -05:00
drklee3
425754da12
fix: update submit-legacy-proposal command in internal testnet seed script (#1615) 2023-06-05 15:02:08 -07: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
Draco
fff3f50877
Fix cli to fund community pool (#1570) 2023-04-20 19:56:24 -04:00
Draco
99890b9c84
add authorizations for x/gov (#1569) 2023-04-20 16:43:33 -04:00
Levi Schoen
98fb7ced20 match contracts deployed in protonet seed script with internal testnet 2023-04-14 13:44:51 -07:00
Levi Schoen
3e4d081583 fix protonet seed script usdc contract address variable 2023-04-14 12:25:57 -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
40f3c0b67b add example script for how to update testnet module params using god committee 2023-04-14 11:00:50 -07:00
Levi Schoen
e6524dc647 namespace seed contract names for easier debugging 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
samcode206
03e9820b84
add wBTC to internal testnet (#1547)
* add wBTC to internal testnet

* Update .github/scripts/seed-internal-testnet.sh

* Update .github/scripts/seed-internal-testnet.sh

---------

Co-authored-by: Adam Robert Turman <67024033+adamrturman@users.noreply.github.com>
2023-04-12 10:44:54 -05: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
Robert Pirtle
0e5745fd1c
chore: add Github PR template (#1537) 2023-04-06 12:29:02 -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
Draco
b9bd2c5173 fix seed gov proposal cli 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
2029fbb2bf support specifying custom rocksb version per github action 2023-04-05 15:33:21 -07:00
drklee3
c5404eda7f Use rocksdb 7.9.2, go mod tidy 2023-04-05 15:33:21 -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