Kava 12 Software Upgrade
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 and adjustments to inflation coming from x/kavadist are also included.
Adds two new modules:
x/kavamint
controls inflationary parameters of Kava (replacesx/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
'scommunity-pool
query reads the balance of the new community pool (thex/community
module account)- to read current & historical balances of the original community pool account, use
x/community
'slegacy-community-pool
query
- to read current & historical balances of the original community pool account, use
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
- the
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)