Skip to content

Commit

Permalink
Merge pull request #653 from cosmology-tech/feat/local-decimal-suppor…
Browse files Browse the repository at this point in the history
…ting-bigint

Feat / local decimal supporting bigint and options to use agoric-sdk or cosmjs
  • Loading branch information
Zetazzz committed Sep 14, 2024
2 parents e8ed869 + 8535757 commit 420d972
Show file tree
Hide file tree
Showing 44 changed files with 15,019 additions and 553 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ See [RPC Clients](#rpc-clients) for more info.
| option | description | defaults |
| ----------------------------------------- | -------------------------------------------------------------- | --------- |
| `prototypes.typingsFormat.customTypes.useCosmosSDKDec` | enable handling "prototypes.typingsFormat.customTypes.useCosmosSDKDec" proto custom type. Used to show decimal fields with the custom type correctly. Highly recommend set to true. | `true` |
| `prototypes.typingsFormat.customTypes.usePatchedDecimal` | To use patched decimal other then decimal from @cosmjs/math | `false` |
| `prototypes.typingsFormat.num64` | 'long' or 'bigint', the way of generating int64 proto types, set to 'bigint' to enable using more stable built-in type | `bigint` |
| `prototypes.typingsFormat.useTelescopeGeneratedType` | Discard GeneratedType from cosmjs, use TelescopeGeneratedType instead inside *.registry.ts files | `false` |
| `prototypes.typingsFormat.useDeepPartial` | defaults to true, but if disabled uses the `Partial` TS type | `false` |
Expand Down
Loading

0 comments on commit 420d972

Please sign in to comment.