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

Error installing last version: cannot find trait Priority in this scope #234

Open
AlexD10S opened this issue Jun 11, 2024 · 0 comments
Open

Comments

@AlexD10S
Copy link

If I run cargo install contracts-node I am getting an error:

error[E0405]: cannot find trait `Priority` in this scope
   --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polkadot-overseer-11.0.0/src/lib.rs:460:1
    |
460 | / #[orchestra(
461 | |     gen=AllMessages,
462 | |     event=Event,
463 | |     signal=OverseerSignal,
464 | |     error=SubsystemError,
465 | |     message_capacity=2048,
466 | | )]
    | |__^ not found in this scope
    |
    = note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
    |
64  + use crate::gen::Priority;
    |
64  + use orchestra::Priority;

When I run the previous version cargo install contracts-node --version 0.40.0 --locked.
I followed the official installation steps to set up all Substrate prerequisites. Am I missing something?

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

No branches or pull requests

1 participant