I have substrate node template with babe and i want to integrate orml-currencies
.
I'm using this in cargo.toml:
orml-currencies = { default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v1.0.0" }
Then I'm getting this error:
--> /Users/deepak/.cargo/git/checkouts/open-runtime-module-library-d3634ee624a28945/6819d3f/tokens/src/lib.rs:433:18
|
433 | impl<T: Config> GenesisBuild<T> for GenesisConfig<T> {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
179 + use frame_support::traits::GenesisBuild;
|
error[E0220]: associated type `BlockNumber` not found for `T`
--> /Users/deepak/.cargo/git/checkouts/open-runtime-module-library-d3634ee624a28945/6819d3f/tokens/src/lib.rs:1277:19
|
1277 | type Moment = T::BlockNumber;
| ^^^^^^^^^^^ there is a similarly named associated type `BlockNumber` in the trait `BlockNumberProvider`
error[E0220]: associated type `BlockNumber` not found for `T`
--> /Users/deepak/.cargo/git/checkouts/open-runtime-module-library-d3634ee624a28945/6819d3f/tokens/src/lib.rs:2403:19
|
2403 | type Moment = T::BlockNumber;
| ^^^^^^^^^^^ there is a similarly named associated type `BlockNumber` in the trait `BlockNumberProvider`
How to solve this issue?
Thanks in advance!