This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Description
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
I want to add rpc function in my substrate blockchain to supply restful apis for others.But some mistake occur when the project is built.The errors show like this:
45 | api.get_value(&at,v).map_err(runtime_error_into_rpc_err)
| --------- ^^^ expected associated type, found &BlockId<_>
| |
| arguments to this method are incorrect

Steps to reproduce
1、add rpc configuration to the prject correctly
2、build the project
3、errors like this:
45 | api.get_value(&at,v).map_err(runtime_error_into_rpc_err)
| --------- ^^^ expected associated type, found &BlockId<_>
| |
| arguments to this method are incorrect