Error while adding a new pallet into frontier node template's runtime #588
Unanswered
farazahmadvaival
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I cloned the frontier node template and was able to build it. I am able to run it and it is working fine. now I have to add a pallet named as:
pallet-node-authorization. In Runtime Cargo.toml file i added the dependency as:[dependencies.pallet-node-authorization]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
After adding the dependency i run the command
cargo build --release. I got the below error message.error: no matching package found
searched package name:
substrate-prometheus-endpointprerelease package needs to be specified explicitly
substrate-prometheus-endpoint = { version = "0.10.0-dev" }
location searched: https://github.com/paritytech/substrate
required by package
fc-consensus v2.0.0-dev (https://github.com/paritytech/frontier.git?rev=0b962f218f0cdd796dadfe26c3f09e68f7861b26#0b962f21)... which satisfies git dependency
fc-consensus(locked to 2.0.0-dev) of packageelysium v0.0.1 (/home/faraz/Documents/GitHub/elysium-vaival/node)Please help me in fixing this issue. Thanks
Beta Was this translation helpful? Give feedback.
All reactions