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

Rename on-chain types #28

Open
bddap opened this issue Apr 10, 2020 · 0 comments
Open

Rename on-chain types #28

bddap opened this issue Apr 10, 2020 · 0 comments

Comments

@bddap
Copy link
Contributor

bddap commented Apr 10, 2020

As of version 1.9, polkadot.js does not support type names containing "::". "::" happens to be what we were using as a namespace separator.

Task: Rename, or create aliases for, all on-chain exposed types (types that show up in chain metadata) as discussed in docknetwork/sdk#63. It's the metadata we need to change, so it's ok just to use type aliasing as long as the aliases are used withing substrate macros.

This will require client-side changes; client submodule needs to be updated, src/types.json needs to be updated, as well as some changes to code dealing with construction of on-chain types.

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

1 participant