Closed lemunozm closed 1 month ago
warning: Patch `orml-traits v0.4.1-dev (https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v1.1.0#b3694e63)` was not used in the crate graph.
polkadot-v1.1.0
doesn't work in your Cargo.lock
file, so it runs cargo check
fine.
We don't have Cargo.toml
in the root , you can't use it with git, it's different from moonbeam-polkadot-v1.7.2/Cargo.toml
For me, polkadot-v1.1.0
works fine with git. What does not work fine is any version above polkadot-1.6.0
@zjb0807 What is the recommended way to specify orml crates for post polkadot-v1.1.0
versions?
It is currently recommended to use crates.io for polkadot-sdk and orml.
Otherwise you can add orml as a submodule. This is how Acala is using it.
Thanks for the answer!
Just curious, what makes polkadot-v1.1.0
works using git but versions greater than polkadot-v1.6.0
not?
I think it is due to this https://github.com/open-web3-stack/open-runtime-module-library/pull/960
That seems to be, thanks!
Hi!
When configuring the dependency as follows:
I'm experienced the following error:
I'm experiencing this only for versions above
polkadot-v1.6.0
andmaster
. If I specifypolkadot-v1.1.0
or below it compiles as expected. Also if specified asorml-traits = "0.8.0"
(corresponding topolkadot-v1.7.0
) it compiles as expected.Any idea of what could happen?
Tested with different rust versions & platforms in an empty project