The First Modular AI Chain
Go to file
Robert Pirtle af611ca8e1
(v0.26 <- #1851) Optimize Pricefeed EndBlocker (#1895)
* Optimize Pricefeed EndBlocker (#1851)

* optimize pricefeed endblocker to iterate all markets only once to remove
overhead of opening and closing iterator for each market individually.
In addition, extend tests to cover 100% of abci and price updating
behavior.

* use test cases that can't be confused with mean to ensure median is
always used

* update kvtool to master branch

* update changelog

---------

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2024-05-29 15:44:53 -07:00
.github update deps and add mergify config for v0.26.x release branch (backport #1853) (#1854) 2024-03-22 15:47:47 -07:00
app Set the CDP Block Interval to 100 during v0.26.x upgrade (#1865) 2024-03-29 11:05:26 -07:00
build Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
ci/env Add ibc packet forward middleware for ibc transfer (#1839) 2024-03-07 16:47:46 -05:00
cli_test Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
client chore: remove repetitive words (#1869) (#1873) 2024-04-05 07:27:10 -07:00
cmd/kava Use IAVL 0.20.x for v0.26.x release, update deps (#1862) 2024-03-28 14:38:07 -07:00
contracts update new names, NativeCoin -> CosmosCoin (#1596) 2023-05-23 12:32:27 -07:00
contrib use broadcast mode sync vs block in cli scripts (#1823) 2024-02-08 14:52:36 -05:00
docs fix:paramaters->paramaters (#1796) (#1872) 2024-04-05 07:14:49 -07:00
migrate update migration instructions with launch date, commit hash, and bump go 2024-04-15 19:23:26 +00:00
networks/local Use OS specific build directories (#600) 2020-06-24 14:21:01 -04:00
proto fix:paramaters->paramaters (#1796) (#1872) 2024-04-05 07:14:49 -07:00
tests (v0.26 <- #1851) Optimize Pricefeed EndBlocker (#1895) 2024-05-29 15:44:53 -07:00
third_party/proto Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
x (v0.26 <- #1851) Optimize Pricefeed EndBlocker (#1895) 2024-05-29 15:44:53 -07:00
.dockerignore ci: update CI workflows and pipelines (#1768) 2023-11-08 14:06:03 -08: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 (v0.26 <- #1851) Optimize Pricefeed EndBlocker (#1895) 2024-05-29 15:44:53 -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 (v0.26 <- #1851) Optimize Pricefeed EndBlocker (#1895) 2024-05-29 15:44:53 -07:00
docker-compose.yml Fix fail local testnet docker-compose up 2021-11-04 12:06:11 +09:00
Dockerfile Bump cosmos-sdk to v0.47.10-kava.2 with iavl v1 support (#1846) (#1855) 2024-03-22 18:27:21 -07:00
Dockerfile-rocksdb Bump cosmos-sdk to v0.47.10-kava.2 with iavl v1 support (#1846) (#1855) 2024-03-22 18:27:21 -07:00
go.mod bump release/v0.26.x deps (#1871) 2024-04-05 07:15:29 -07:00
go.sum bump release/v0.26.x deps (#1871) 2024-04-05 07:15:29 -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 Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
prometheus.docker-compose.yml feat(x/cdp): update begin bloocker to run liquidations every X blocks based off params (#1818) 2024-02-02 13:21:11 -05:00
prometheus.yml feat(x/cdp): update begin bloocker to run liquidations every X blocks based off params (#1818) 2024-02-02 13:21:11 -05:00
README.md release: update docs & changelog for v0.25.0 (#1794) 2023-12-07 10:21:02 -08: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.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.