mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
4cf41d18c2
Implement GetBalance for extended balances which passes through to `x/bank` for non-extended denoms. This diverges from `x/evmutil` behavior which will panic on non-"akava" calls. Add bank / account keeper mocks for testing, with mockery config for [mockery package setup](https://vektra.github.io/mockery/latest/migrating_to_packages/) |
||
---|---|---|
.. | ||
keeper | ||
testutil | ||
types | ||
genesis_test.go | ||
genesis.go | ||
module.go | ||
README.md |
x/precisebank
Abstract
This document specifies the precisebank module of Kava.
The precisebank module is responsible for extending the precision of x/bank
,
intended to be used for the x/evm
. It serves as a wrapper of x/bank
to
increase the precision of KAVA from 6 to 18 decimals, while preserving the
behavior of existing x/bank
balances.
This module is used only by x/evm
where 18 decimal points are expected.