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

Chore: Allow provider polkadot signature verification #358

Merged
merged 3 commits into from
Feb 9, 2023

Conversation

Rgascoin
Copy link
Member

Chore: PyAleph can not validate signature coming from Polkadotjs provider.
Solution: update substrate-interface from 1.1.7 to 1.2.0

The minimal version to fix this issue is the 1.2.0.
https://github.com/polkascan/py-substrate-interface/releases/tag/v1.2.0

This update is required for the typescript SDK: aleph-im/aleph-sdk-ts#108

…vider.

Solution: update substrate-interface from 1.1.7 to 1.2.0
@odesenfans
Copy link
Contributor

Could you add a unit test?

@Rgascoin Rgascoin force-pushed the Chore/Substrate/signature branch 2 times, most recently from 1a2dcf7 to e77dd11 Compare December 21, 2022 16:34
@Rgascoin
Copy link
Member Author

Could you add a unit test?

Here: 824ff04
Added a new message signed by Polkadotjs provider

I don't know if pytest can mock 2 different version of the same lib to make the test more relevant and shows a version before 1.2 can't verify the new message.

@hoh hoh merged commit 791888f into master Feb 9, 2023
@hoh hoh deleted the Chore/Substrate/signature branch February 9, 2023 15:16
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