pub fn check_ready(rpc_client: &RpcClient)