Full Changelog: v0.3.0...v0.5.0
- Implements
ItemTransient
andMapTransient
. - feat(value_encoder): Key and value encoders for "cosmossdk.io/math" Int
Both of thes new transient types correspond to transient key-value stores (KV
store) instead of a persistent ones.
A Transient KV Store is used for data that does not need to persist beyond the
execution of the current block or transaction. This can include temporary
calculations, intermediate state data in transactions or ephemeral data used in
block processing. Data in a transient store is cleared after the block is
processed.
Transient KV stores have markedly lower costs for all operations (10% of the
persistent cost) and a read cost per byte of zero.