i try to import fc-rpc on fronter. but got some error message
Compiling fc-rpc v2.0.0-dev (https://github.com/paritytech/frontier.git#9d4ccba8)
error[E0432]: unresolved import `sc_rpc::Metadata`
--> /home/kula/.cargo/git/checkouts/frontier-b4643f17507d3282/9d4ccba/client/rpc/src/eth_pubsub.rs:38:5
|
38 | use sc_rpc::Metadata;
| ^^^^^^^^^^^^^^^^ no `Metadata` in the root
For more information about this error, try `rustc --explain E0432`.
error: could not compile `fc-rpc` due to previous error
warning: build failed, waiting for other jobs to finish...
what's wrong with this?
my rust toolcain
[toolchain]
channel = "nightly"
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]
profile = "minimal"