43be3815cc
* feat: disable inflation upgrade logic * improve disable inflation comments * add upgrade tests * update changelog * split disable inflation upgrade and the upgrade check * remove pay rewards logic * clean up incentives test * add abci test * refactor upgradeTime and blockTime check * fix abci test * fix wrong pr in changelog * refactor disable inflation tests, behavior, and implementation - Unit tests are now shared between keeper and abci begin blocker since behavior is 100% the same - ABCI is unaware of keeper initial keeper logic branch (keeper methods required to be called in certain order by begin blocker) - Behavior of zero time is changed -- this now doesn't run for the zero time. This is more ideal for new chains (genesis should set all correct state instead of relying on inflation disable logic), and allows for a simpler implementation. - Begin blocker now panics if parameters are not in state * remove previous tests and implementation * remove previous block time keeper state -- not needed for inflation disalbing * move inflation disabling to private method and add more comments * remove unused key * use correct spelling for idempotence --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> |
||
---|---|---|
.github | ||
app | ||
build | ||
ci/env | ||
cli_test | ||
client | ||
cmd/kava | ||
contracts | ||
contrib | ||
docs | ||
migrate | ||
networks/local | ||
proto | ||
simulations | ||
tests | ||
third_party/proto | ||
x | ||
.dockerignore | ||
.gitignore | ||
.gitmodules | ||
.tool-versions | ||
buf.work.yaml | ||
CHANGELOG.md | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile-rocksdb | ||
go.mod | ||
go.sum | ||
golangci.yml | ||
hard.svg | ||
kava-logo.svg | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
swp.svg |
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.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.24.0
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.