Skip to content

Kava 12 Release Candidate 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@pirtleshell pirtleshell released this 04 Jan 18:52
· 324 commits to master since this release
c800219

Mainnet Release Candidate & Public Testnet Release

Latest version of Kava includes updates to how the community pool is managed and how inflation is controlled in Kava. Additional improvements to the EVM are also included.

Adds two new modules:

  • x/kavamint controls inflationary parameters of Kava (replaces x/mint)
  • x/community holds and manages community pool funds

Software versions:
Golang: v1.18 (using a version other than 1.18 will result in app hash mismatches. v1.18 MUST be used.)
Cosmos-sdk: v0.45.10
Tendermint: v0.34.24

x/kavamint

  • inflation is now broken into two specific pieces: staking apy & community pool inflation
  • the staking apy is a fixed rate and no longer changes with the number of bonded tokens
  • parameters are set as easy-to-understand percentages

x/community

  • the community pool is now a module account owned by the community module
  • includes two gov proposals for deposit/withdraw of community pool funds to Kava Lend (x/hard)

Upgrade Handler

An upgrade handler is registered under the name v0.20.0-alpha.0. It performs the following operations:

  • initializes x/community & x/kavamint modules
  • moves original community pool funds to new community pool
  • removes x/mint (functionality replaced by x/kavamint
  • sets x/distribution community_tax to 0% (community pool inflation is now minted directly to community pool. no cut from validator rewards is taken)

API changes

Backwards compatibility is maintained where possible:

  • x/distribution's community-pool query reads the balance of the new community pool (the x/community module account)
    • to read current & historical balances of the original community pool account, use x/community's legacy-community-pool query
  • x/mint queries are shimmed
    • the inflation query gives a modified inflation value that makes the standard staking apy calculation correct
    • other queries to x/mint return an "unimplemented" error code

EVM enhancements

  • ethermint updated
  • Allows 'finalized' to be used on eth json rpc calls
  • Fixes eth_call for old heights (prevent panic on GetParams before allowed eip messages were set)