-
Notifications
You must be signed in to change notification settings - Fork 43
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
Duration
s are being typed incorrectly
#211
Comments
related #142 |
oh yeah jk it's Duration not Long |
NoahSaso
changed the title
Sep 20, 2022
Long
s are being typed incorrectlyDuration
s are being typed incorrectly
please try the new release candidate to test this via osmojs: example here https://github.com/cosmology-tech/cosmology/blob/main/packages/cli/src/commands/lock.ts#L113-L116 const msg = lockTokens({
owner: account.address,
coins,
duration: Duration.fromPartial({
seconds: Long.fromString(duration),
nanos: 0
})
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Long
s are typed with a class but appear to be serialized as a string representing its value in seconds.The text was updated successfully, but these errors were encountered: