Skip to content

Getting Rpc error when I try compiling the node #121

@dharjeezy

Description

@dharjeezy

When i try compiling the node, I get this error. Any idea how to go about this?

node/src/service.rs:180:16
   |
180 |         rpc_builder: rpc_extensions_builder,
   |                      ^^^^^^^^^^^^^^^^^^^^^^ expected struct `jsonrpsee_core::server::rpc_module::RpcModule`, found struct `RpcModule`
   |
   = note: expected enum `Result<jsonrpsee_core::server::rpc_module::RpcModule<_>, sc_service::Error>`
              found enum `Result<RpcModule<()>, _>`
   = note: perhaps two different versions of crate `jsonrpsee_core` are being used?
   = note: required for the cast to the object type `dyn Fn(DenyUnsafe, Arc<(dyn SpawnNamed + 'static)>) -> Result<jsonrpsee_core::server::rpc_module::RpcModule<_>, sc_service::Error>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions