-
Notifications
You must be signed in to change notification settings - Fork 7
Use u128 for payment amounts #216
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
Conversation
ba0a2df to
f5749cc
Compare
a2b6199 to
197e635
Compare
a538481 to
598f73a
Compare
27dbbe3 to
92dc1cb
Compare
0df0e80 to
95db261
Compare
9182f6b to
9c70b27
Compare
4f729b4 to
a6eb7d7
Compare
a6eb7d7 to
e1a8ab0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
|
||
| [custom_types.common_u128] | ||
| type_name = "BigInteger" | ||
| imports = [ "com.ionspin.kotlin.bignum.integer.BigInteger" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an issue using java.math.BigInteger in kotlin multiplatform?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC it isn't available on native Kotlin (only in JVM envs) so we can't use it in multiplatform kotlin
Co-authored-by: Ross Savage <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, should help with testing
This proposes the use of UniFFI custom types for exposing u128 to our bindings.
TODO: