-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defer all possible errors from connect_lazy until request time #18536
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
@@ -90,7 +93,7 @@ pub trait AuthorityAPI { | |||
|
|||
#[derive(Clone)] | |||
pub struct NetworkAuthorityClient { | |||
client: ValidatorClient<Channel>, | |||
client: SuiResult<ValidatorClient<Channel>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably better to just use Option instead of SuiResult?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is that this propagates the actual error though
9aa3fe9
to
3a3b007
Compare
No description provided.