Closed
1 of 1 issue completedDescription
opened on Apr 26, 2022
Based on the discussions in #7773, the decision regarding decimals in the SDK is to use a GDA-based decimal implementation to replace the current sdk.Dec
.
This would likely be based on one of these two libraries and we should plan on providing upstream changes when needed:
This new decimal type should likely go into a new standalone math
go module along with a copy of the current sdk.Int
implementation so these are broken out of the monolithic SDK.
The apd-based Dec
wrapper type in regen-ledger can possibly be the basis for this new math.Dec
type: https://github.com/regen-network/regen-ledger/tree/master/types/math
Sub-issues
Metadata
Assignees
Labels
Type
Projects
Status
🥳 Done
Activity