-
Notifications
You must be signed in to change notification settings - Fork 17
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
Can't compile on latest master commit #57
Comments
I'll have flavors I could publish to crates.io this week, but then substrate would need to be updated to them. |
|
I've fixed it in 48b8507 Arkworks inherited zcash's usage of std::io for serialization, but they wanted to be no_std, so they created ark_std::io. This was necessary because rust-lang avoided doing a core::io for silly reasons. This strategic mistake by rust-lang is also why scale exists. It's likely these errors were caused by the tests using one flavor when run from the repo root, but another flavor when run from the crate itself. We need a proper CI that catches this stuff, but still a lot of flux here. Anyways please reopen if this does not fix the problem. |
Actually your error looks completely different from the one I just fixed. lol We should maybe git pin your dependencies @swasilyev ? |
Ups, sorry! Just merged w3f/ring-proof#10 blindly |
Yeah, It seems this is the root cause |
Currently, Substrate pinned an earlier version, which doesn't pin the ring-proof commit, and when I try to update Substrate, Cargo always updates ring-proof to the latest commit. I tried to update the Substrate side, but it made massive dependencies conflicts. To workaround, I manually edit ring-proof rev in Cargo.lock, I think the better way is to release this repo to crates.io |
BTW, The problem is https://github.com/paritytech/ark-substrate/blob/main/curves/bls12_377/Cargo.toml#L21 |
I updated the ref in our repo. |
ark-scale 0.0.10 should be fairly stable I think. Afaik we've not yet started using ark-substrate yet internally, but we'll need to do so soon, so it's great to sort this out. |
Fixed by paritytech/polkadot-sdk#1342 |
Because Substrate is dependent on this repo via git, Cargo update dependencies often touch git commits unexpectedly.
So I found the issue on my Substrate project, and then I found it's reproducible on the repo as well.
Rust version 1.71.1
The text was updated successfully, but these errors were encountered: