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

test error swap-on-dex #395

Open
elephone opened this issue Jul 19, 2022 · 2 comments
Open

test error swap-on-dex #395

elephone opened this issue Jul 19, 2022 · 2 comments

Comments

@elephone
Copy link

https://github.com/AcalaNetwork/acala.js/wiki#swap-on-dex

1.first error information

VEC: Unable to decode on index 0 createType(Lookup146):: Tuple: failed on 0:: Cannot map Enum JSON, unable to find 'DOT' in token, dexshare, erc20, stableassetpooltoken, liquidcrowdloan, foreignasset

2.secode

Fixed18.fromNature(0.005)
                ^
TypeError: Fixed18.fromNature is not a function
@qwer951123
Copy link
Contributor

the docs may be outdated. using {Token: "DOT"} to query token information

@elephone
Copy link
Author

elephone commented Aug 1, 2022 via email

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