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

Use @open-web3/orml-type-definitions for txwrapper-orml #46

Closed
emostov opened this issue Jan 12, 2021 · 0 comments · Fixed by #48
Closed

Use @open-web3/orml-type-definitions for txwrapper-orml #46

emostov opened this issue Jan 12, 2021 · 0 comments · Fixed by #48
Assignees

Comments

@emostov
Copy link
Contributor

emostov commented Jan 12, 2021

Currently txwrapper-orml has a getRegistryMandala function used for testing ORML methods. This pulls in types from @polkadot/apps-config via txwrapper-registry. Instead of using txrapper-registry we can pull in types straight from @open-web3/orml-type-definitions and use getRegistryBase to create our type registry for testing.

@emostov emostov self-assigned this Jan 20, 2021
emostov added a commit that referenced this issue Jan 20, 2021
Closes #47, Closes #46, Closes #45
- Transition packages to use their own getRegistry function in order to decrease deps and supply chain waits for types
- Add a chain builder example for how to create local getRegistry
- remove apps-config dep for txwrapper-orml to reduce package size; replaced with acala types as a dev dep
emostov added a commit that referenced this issue Jan 21, 2021
* feat: Use local `getRegistry` functions

Closes #47, Closes #46, Closes #45
- Transition packages to use their own getRegistry function in order to decrease deps and supply chain waits for types
- Add a chain builder example for how to create local getRegistry
- remove apps-config dep for txwrapper-orml to reduce package size; replaced with acala types as a dev dep

* Apply suggestions from code review

Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>

* Use 1) for md ordered ls

* Update examle code

* Clean up

* Use ^ versioning

Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
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

Successfully merging a pull request may close this issue.

1 participant