You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Experiencing problems? Have you tried our Stack Exchange first?
This is not a support question.
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