The First Modular AI Chain
Go to file
drklee3 6998196461
x/community events and e2e test improvements (#1766)
* Initial e2e setup

* Fix inflation disable tests

* Add upgrade handler

* Add param tests for after upgrade

* Replace deprecated grpc creds

* Remove upgrade for e2e test

* Update upgrade handler to set x/community params

* Remove params check in upgrade

* Update tests for switchover time and params check

* wip inflation

* Add attribute to disable inflation event

* Add before/after switchover mint and dist checks

* Add missing attribute to disable inflation test check

* Check mint events are 0

* Check total supply doesn't change

* Check inflation and events before switchover

* Check staking reward payouts from x/community

* move events funcs to util

* Add keyring to chain, fetch keys from kvtool and test withdrawal

* Remove duplicate KavaHomePath

* Update subtest names to specify before/after switchover

Co-authored-by: Draco <draco@dracoli.com>

* Use blocktime for InflationStop event DisableTime

* Test 5 blocks for staking rewards payout

* Remove logging and unused lines

* Check val claimed balance with queried

* Enable and update consolidation tests

* Update test for modified EventTypeInflationStop time attr

* Test x/distribution community tax

* Fix test names

* Update e2e tests for better live network test support (#1749)

* Update e2e tests to support mirrornet

* Skip claim rewards on live network, require no errors for existing tests

* Update readme with upgrade height

* Update .env example with usdt contract address

* Restore .env file to original local e2e

* Log community params when set

* Make AttributeKeyInflationDisableTime more precise

* Add mainnet and testnet community params (#1753)

* Re-enable ibc tests

* Remove duplicate types.EventTypeInflationStop emit

* feat: set validator minimum commissions to at least 5% in upgrade handler (#1761)

* Update validator min commission in upgrade

* Add min commission upgrade test

* Update changelog

* Set validator MaxRate, call BeforeValidatorModified hook

* Check max commission and update time in tests

* Update e2e test for max rate

* Test val update time

* Use SdkBlock instead of Block

* Remove upgrade related handlers and tests

Preserve any module and test util changes

* Update e2e x/community params proposal test to work without upgrade handler

---------

Co-authored-by: Draco <draco@dracoli.com>
2023-10-31 16:37:40 -07:00
.github feat(community): consolidate community funds (#1729) 2023-10-20 09:18:37 -07:00
app feat(community): add MsgUpdateParams for governance (#1745) 2023-10-11 10:22:25 -07:00
build chore: allow override of go binary in Makefile (#1660) 2023-08-11 13:29:54 -07:00
ci/env Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
cli_test Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
client feat(community): add AnnualizedRewards grpc query (#1751) 2023-10-24 12:24:21 -07:00
cmd/kava Make read-async-io configurable (#1732) 2023-09-21 12:18:35 -04:00
contracts update new names, NativeCoin -> CosmosCoin (#1596) 2023-05-23 12:32:27 -07:00
contrib feat: upgrade to Cosmos v0.46 (#1477) 2023-04-03 20:08:45 -04:00
docs feat(community): add AnnualizedRewards grpc query (#1751) 2023-10-24 12:24:21 -07:00
migrate fix(cli): Resolve problem with assert-invariants cmd (#1624) 2023-06-09 16:52:52 -07:00
networks/local Use OS specific build directories (#600) 2020-06-24 14:21:01 -04:00
proto feat(community): add AnnualizedRewards grpc query (#1751) 2023-10-24 12:24:21 -07:00
simulations Simulation fixes (#527) 2020-09-01 11:33:12 -04:00
tests x/community events and e2e test improvements (#1766) 2023-10-31 16:37:40 -07:00
third_party/proto feat: upgrade to Cosmos v0.46 (#1477) 2023-04-03 20:08:45 -04:00
x x/community events and e2e test improvements (#1766) 2023-10-31 16:37:40 -07:00
.dockerignore feat: add contract for ERC20KavaWrappedNativeCoin (#1594) 2023-05-19 16:39:50 -07:00
.gitignore test(e2e): add tests for cosmos coin conversion (#1612) 2023-06-05 13:22:23 -07:00
.gitmodules Add IBC chain to E2E test suite (#1486) 2023-03-07 14:37:45 -08:00
.tool-versions feat: add contract for ERC20KavaWrappedNativeCoin (#1594) 2023-05-19 16:39:50 -07:00
buf.work.yaml Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
CHANGELOG.md x/community events and e2e test improvements (#1766) 2023-10-31 16:37:40 -07:00
docker-compose.yml Fix fail local testnet docker-compose up 2021-11-04 12:06:11 +09:00
Dockerfile update golang from 1.19 to 1.20, the recommended version for kava 13 (#1571) 2023-05-03 16:16:47 -07:00
Dockerfile-rocksdb Make rocksdb configurable (#1658) 2023-08-22 11:24:48 -04:00
go.mod feat(x/metrics): add module for emiting custom chain metrics (#1668) 2023-08-25 12:23:53 -07:00
go.sum Make rocksdb configurable (#1658) 2023-08-22 11:24:48 -04:00
golangci.yml address comments from review 2020-04-30 17:10:53 -04:00
hard.svg add token logos (#1185) 2022-03-10 13:24:21 -07:00
kava-logo.svg Update README to new logo (#410) 2020-03-31 11:20:31 -04:00
LICENSE.md [R4R] Basic docs tidying (#534) 2020-05-29 15:53:57 -07:00
Makefile Make rocksdb configurable (#1658) 2023-08-22 11:24:48 -04:00
README.md docs: update changelog & latest release to v0.24.1 (#1759) 2023-10-25 13:30:22 -07:00
swp.svg add token logos (#1185) 2022-03-10 13:24:21 -07:00

version CircleCI Go Report Card API Reference GitHub Twitter Follow Discord Chat

Reference implementation of Kava, a blockchain for cross-chain DeFi. Built using the cosmos-sdk.

Mainnet

The current recommended version of the software for mainnet is v0.24.1. The master branch of this repository often contains considerable development work since the last mainnet release and is not runnable on mainnet.

Installation and Setup

For detailed instructions see the Kava docs.

git checkout v0.24.1
make install

End-to-end tests of Kava use a tool for generating networks with different configurations: kvtool. This is included as a git submodule at tests/e2e/kvtool. When first cloning the repository, if you intend to run the e2e integration tests, you must also clone the submodules:

git clone --recurse-submodules https://github.com/Kava-Labs/kava.git

Or, if you have already cloned the repo: git submodule update --init

Testnet

For further information on joining the testnet, head over to the testnet repo.

Docs

Kava protocol and client documentation can be found in the Kava docs.

If you have technical questions or concerns, ask a developer or community member in the Kava discord.

Security

If you find a security issue, please report it to security [at] kava.io. Depending on the verification and severity, a bug bounty may be available.

License

Copyright © Kava Labs, Inc. All rights reserved.

Licensed under the Apache v2 License.