0dc30538b7
* Optimize CDP Begin Blocker (#1822) * optimize cdp begin blocker by removing unnecessary checks, reusing data and prefix stores in loops, and reducing number of repeated calculations * fix panic for new cdp types if both previous accural time and global interest factor are not set * do not touch global interest factor if no CDP's exist; revert to panic if global interest factor is not found since this is an unreachable state by normal keeper operation -- it can only be reached if store is modified outside of public interface and normal operation * update changelog --------- 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 | ||
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 | ||
prometheus.docker-compose.yml | ||
prometheus.yml | ||
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.25.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.25.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.