The First Modular AI Chain
Go to file
Robert Pirtle f37321839b
add x/kavamint & x/community modules (#1400)
* add `x/kavamint` module (#1376)

* stub out the x/kavamint module

* mint staking rewards in x/kavamint BeginBlocker

* calculate cumulative inflation from x/kavamint

* cleanup, abstract bond denom, grpc query tests

* store & use previous block time to calculate mints

* move test suite to testutil

* add test of x/kavamint BeginBlocker

* cleanup & comments from @DracoLi review

* fix x/incentive integration test

* remove rest client grpc test

* add x/kavamint module spec

* track previous block time in genesis

* suggested cleanup from PR review

* bugfix incorrect module account check

* add x/community module (#1388)

* add x/community module

* refactor and setup fund-community-pool tx

* remove unused features (params, genesis state)

* test x/community query and message

* update with master branch deps

* updates from review

* indicate deprecated methods on module (still needed to fulfill interface)
* remove legacy querier
* derive msg Route() and Type() from sdk.MsgTypeURL(&msg)

* use module name for message Route()

* mint community pool inflation in x/kavamint (#1389)

* mint community pool inflation in x/kavamint

* refactor x/kavamint abci inflation test

* test inflation from x/kavamint

* default kavamint rates to 0%

* rename kavamint account name variables

* panic if genesis kavamint previous block time not set

* emit event on kavamint begin blocker

* add kavamint year of inflation sanity check test

* update fund_community_pool message event

* add x/community spec

* refactor inflation accumulation into single func

* use new comm pool in kavadist multispend proposal (#1403)

the x/community module houses the new community pool. this commit
points the CommunityPoolMultiSpendProposal at the new community pool
so that multispend proposals can continue to be processed once original
fee pool funds are move to x/community

* updates from proto lint changes

* update earn proposals to use new community pool

originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal
used the vanilla community pool fee pool. this commit updates them both
to use the new x/community module account.

* spec formatting update

* add x/community & x/kavamint to internal testnet genesis

* increase test coverage of x/kavamint

* increase test coverage of x/community

* use string type for sdk.Dec proto fields; disable generation of getters
for genesis and params (and other store objects)

* follow sdk conventions for params endpoint naming

* add kavamint to swagger; update swagger & proto docs

* remove legacy querier; touch up module to match others

* reduce max minting rate; refactor genesis to allow nil/zero block time;
repace proto stringers and remove getters; keep sdk.Dec values strings
in protos; increase validation of sdk.Dec values in params; increase
coverage; add module account permission checks; ensure import and export
of genesis does not change state

* fix scaling of rate values -- should be yearly rates

* revert key change

* fix typo in test name

* fix regression in running tests -- rename method

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-12-09 13:24:35 -08:00
.github add prototype workflows for internal testnet CD (#1415) 2022-12-08 12:30:12 -05:00
app add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
build Fix remote check proto breaking when not branching from master (#1409) 2022-11-30 11:48:00 -07:00
ci/env/kava-internal-testnet add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
cli_test gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
client add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
cmd/kava Update to cosmos 0.45.9 (#1355) 2022-10-19 11:11:17 -07:00
contrib Add Combined Earn and Liquid msgs (#1305) 2022-09-28 03:28:57 +01:00
docs add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
migrate Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
networks/local Use OS specific build directories (#600) 2020-06-24 14:21:01 -04:00
proto add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
simulations Simulation fixes (#527) 2020-09-01 11:33:12 -04:00
third_party/proto Refactor Buf Usage (#1399) 2022-11-22 16:22:07 -07:00
x add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
.dockerignore include build directory for dockder images; move build artifacts to out (#1401) 2022-11-23 09:39:10 -07:00
.gitignore Refactor Buf Usage (#1399) 2022-11-22 16:22:07 -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 feat: update changlog for v0.16, unreleased breaking changes (#1164) 2022-02-08 09:51:37 -08:00
docker-compose.yml Fix fail local testnet docker-compose up 2021-11-04 12:06:11 +09:00
Dockerfile Update to cosmos 0.45.9 (#1355) 2022-10-19 11:11:17 -07:00
go.mod update to tendermint 0.34.24 -- json rpc optimizations (#1402) 2022-11-23 11:28:17 -07:00
go.sum update to tendermint 0.34.24 -- json rpc optimizations (#1402) 2022-11-23 11:28:17 -07: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 include build directory for dockder images; move build artifacts to out (#1401) 2022-11-23 09:39:10 -07:00
README.md Update readme for kava 11 (#1374) 2022-11-03 08:15:45 -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.19.0. 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.19.0
make install

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.

License

Copyright © Kava Labs, Inc. All rights reserved.

Licensed under the Apache v2 License.