Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Downgrade schnorrkel #12

Merged
merged 2 commits into from
Aug 25, 2021
Merged

Downgrade schnorrkel #12

merged 2 commits into from
Aug 25, 2021

Conversation

jasl
Copy link
Contributor

@jasl jasl commented Aug 25, 2021

Substrate still dependent 0.9.1, if the optional schnorrkel enabled, in our case, it make compiles failed

error[E0308]: mismatched types
   --> substrate/primitives/core/src/sr25519.rs:600:33
    |
600 |           let mini_key: MiniSecretKey = mini_secret_from_entropy(entropy, password.unwrap_or(""))
    |  _______________________-------------___^
    | |                       |
    | |                       expected due to this
601 | |             .expect("32 bytes can always build a key; qed");
    | |___________________________________________________________^ expected struct `MiniSecretKey`, found struct `schnorrkel::keys::MiniSecretKey`
    |
    = note: perhaps two different versions of crate `schnorrkel` are being used?

@bkchr bkchr merged commit c56994c into paritytech:master Aug 25, 2021
@jasl jasl deleted the patch-2 branch August 25, 2021 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants