fn create_modules<DB>( state: Arc<RPCState<DB>>, ) -> HashMap<ApiPaths, RpcModule<RPCState<DB>>>where DB: Blockstore + Send + Sync + 'static,