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

fix!: metadata updates, change documentation to docs #616

Merged
merged 5 commits into from
Jul 20, 2021

Conversation

TarikGul
Copy link
Member

⚠ BREAKING CHANGES

To reflect changes in @polkadot/api@5.1.1 changes have been made to 2 of the endpoints specifically, and 1 implicitly.

  1. /pallets/{palletId}/storage
    The documentation field under each item in the items field will now be docs.

  2. /pallets/{palletId}/storage/{storageItemId}
    The documentation field under each item in the items field will now be docs.

  3. /runtime/metadata
    Similar to the above the metadata returned here just follows the most up to date metadata in polkadot-js so this route will
    implicitly have the same result as above.

Updates

Update the resolutions inside of the package.json to reflect polkadot-js

Update:

@polkadot/api => v5.1.1
@polkadot/apps-config => v0.94.2-79
@polkadot/util-crypto => v7.0.2
@substrate/calc => v0.2.2

Tests

I fixed and adjusted some of the expected responses for the tests regarding the breaking changes above.

@TarikGul TarikGul requested review from jsdw, insipx and emostov July 20, 2021 14:50
@TarikGul TarikGul merged commit 7942cd3 into master Jul 20, 2021
@TarikGul TarikGul deleted the tarik-pre-release-deps-v9 branch July 20, 2021 15:28
This pull request was closed.
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 this pull request may close these issues.

3 participants