The First Modular AI Chain
Go to file
Denali Marsh cae7503f7b
Token holder governance (#917)
* Committee types (#899)

* committee types

* refactor to committee interface

* include tokencommitee stringer method

* add members to BaseCommittee

* address revisions

* update querier

* update querier

* fix compilation errors, tests, etc.

* Update MsgVote with vote type (#900)

* add vote to msg

* update querier/rest

* update example cli vote msg

* remove incorrect comments

* address revisions

* update handler, stub keeper method

* add vote type to vote struct

* Committee module keeper logic for token holder governance (#902)

* fix keeper/test compilation errors

* fix keeper/test compilation errors pt 2

* add setters to committee interface

* fix sims compilation errors

* fix incentive tests compilation errors

* update types, expected keepers

* core keeper logic

* don't allow bond denom

* implement vote tallying

* query proposal polling status

* update module keepers in app.go

* register committee interface

* fix failing incentive test

* commitee types tests

* refactor GetProposalResult by committee types

* update invariants

* implement most proposal keeper tests

* add nulls to custom enums

* remove abstain vote type

* add test for close proposal

* remove outdated TODOs

* update ProcessProposals

* switch on committee type directly

* reintroduce Abstain votes and update vote tallying

* don't allow divide by 0 panics

* delete unused setters on committee interface

* clean up tally methods return values for querier

* update enum validation to catch negative ints

* reintroduce setters for sims compilation

* address revisions

* remove commented out test

* implement ProcessProposals test

* additional revisions

* Committee migrations (#909)

* add committee v14 legacy types

* update migration imports for compile

* addRegisterCodec() to committee v14 legacy types

* migrate committee genesis state from v14 to v15

* set stability committee permissions properly

* fix committee allowed params

* migration test, kava-7 sample data

* add concrete types to committees (#911)

* revisions: migrate + tests

* register msgs on legacy codec

* Prepare Committee module for migrations (#906)

* remove invariants

* edits

* fix abci test

* fix keeper querier tests

* add committee interface registration

* use codec.Codec

* don't allow null vote types

* don't allow null tally option

* minor spelling fixes

* update example cli proposal

* fix cli tally query

* enable vote abstain from cli

* include vote options in cli help text

* call CloseProposal from handler

* custom enum marshaling

* committee: fix failing tests (#921)

* fix failing tests

* fix: spelling

Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2021-06-07 18:08:03 +02:00
.circleci Automate docker build and upload (#703) 2020-10-30 18:38:30 +01:00
.github/.workflows update workflow 2020-04-30 11:03:49 -04:00
app Token holder governance (#917) 2021-06-07 18:08:03 +02:00
cli_test Update to sdk v0.39.x (#625) 2020-09-16 15:16:14 -04:00
cmd merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00
contrib fix: use correct committee params (#640) 2020-08-30 10:47:07 -04:00
docs build(deps): bump dns-packet from 1.3.1 to 1.3.4 in /docs (#918) 2021-05-28 14:24:39 +01:00
migrate Token holder governance (#917) 2021-06-07 18:08:03 +02:00
networks/local Use OS specific build directories (#600) 2020-06-24 14:21:01 -04:00
rest_test Add collateral type to cdp (#629) 2020-08-21 15:42:46 -04:00
simulations Simulation fixes (#527) 2020-09-01 11:33:12 -04:00
swagger-ui Update Swagger for kava-5 (#852) 2021-02-23 14:02:08 -07:00
x Token holder governance (#917) 2021-06-07 18:08:03 +02:00
.dockerignore update dockerfile file for speed (#614) 2020-09-01 11:35:37 -04:00
.gitignore Updated documentation to reflect current version (#901) 2021-05-03 09:44:33 -06:00
CHANGELOG.md update changelog (#856) 2021-02-28 22:05:30 -07:00
docker-compose.yml Use OS specific build directories (#600) 2020-06-24 14:21:01 -04:00
Dockerfile update dockerfile file for speed (#614) 2020-09-01 11:35:37 -04:00
go.mod Token holder governance (#917) 2021-06-07 18:08:03 +02:00
go.sum merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00
golangci.yml address comments from review 2020-04-30 17:10:53 -04: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 Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
README.md Updated documentation to reflect current version (#901) 2021-05-03 09:44:33 -06:00

DeFi for Crypto.

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.14.1. The master branch of this repository often contains considerable development work since the last mainnet release and is not runnable on mainnet.

Installation

git checkout v0.14.1
make install

Upgrade

The scheduled mainnet upgrade to kava-7 took place on April 8th, 2021 at 15:00 UTC. The current version of Kava for kava-7 is v0.14.1.

The canonical genesis file can be found here

The canonical genesis file hash is

jq -S -c -M '' genesis.json | shasum -a 256
9dbff5a0fb1a7aa20247f73e974bfd4a11090252768869ef8ccb23a515a01c51  -

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.