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(deps): update pjs api #906

Merged
merged 6 commits into from
May 2, 2022
Merged

fix(deps): update pjs api #906

merged 6 commits into from
May 2, 2022

Conversation

TarikGul
Copy link
Member

@TarikGul TarikGul commented Apr 25, 2022

Update the following deps:

@polkadot/api: 8.2.1
@polkadot/apps-config: 0.113.1

@TarikGul TarikGul requested a review from a team as a code owner April 25, 2022 14:07
@TarikGul
Copy link
Member Author

TarikGul commented May 2, 2022

As clarification I used this PR to update the versions again because this didnt go in last week: Updated versions are as follows:

"@polkadot/api": "8.3.1",
"@polkadot/apps-config": "0.113.1",
"@polkadot/util-crypto": "9.1.1",

@TarikGul
Copy link
Member Author

TarikGul commented May 2, 2022

I also updated one mock test variable that was actually technically incorrect. But Polkadot-js has added stricter requirements for hash length, so it caught it, and I just made sure it was the correct byte length.

Copy link
Contributor

@lexnv lexnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@@ -27,4 +27,4 @@ export const MAX_H512 =
'0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff';
export const MAX_H256 =
'0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff';
export const MAX_H160 = '0xffffffffffffffffffffffffffffffffffffffffffffffff';
export const MAX_H160 = '0xffffffffffffffffffffffffffffffffffffffff';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just changes the byte length from 24 -> 20 as that is required for a H160 type and polkadot-js util will no longer shorten the length for you but error with an assert.

@TarikGul TarikGul merged commit 528420c into master May 2, 2022
@TarikGul TarikGul deleted the tarik-update-deps branch May 2, 2022 15:38
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.

None yet

3 participants