Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: local Decimal supporting bigint #652

Open
Zetazzz opened this issue Sep 13, 2024 · 1 comment
Open

feat: local Decimal supporting bigint #652

Zetazzz opened this issue Sep 13, 2024 · 1 comment
Assignees

Comments

@Zetazzz
Copy link
Collaborator

Zetazzz commented Sep 13, 2024

2609ef8

solution:

create a separate helper file "decimal.ts" to export Decimal from cosmjs or the helper file.

options to add:

prototypes.typingsFormat.customTypes.useAgoricDec | default to undefined

@Zetazzz
Copy link
Collaborator Author

Zetazzz commented Sep 26, 2024

Based on the feedback from agoric team, we need to change the flag name from:

prototypes.typingsFormat.customTypes.useAgoricDec(default to undefined)

to:

prototypes.typingsFormat.customTypes.useCosmjsDecimal(default to true)

And all related logic need to be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants