-
Notifications
You must be signed in to change notification settings - Fork 60
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
Adapt to new Market Api 1.6.1 #775
Conversation
a7e7f8e
to
ca3052b
Compare
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.
lgtm
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.
Looks fine, but you gotta merge golemfactory/ya-client#52 ;)
Ok(ProposalResponse::RejectProposal) | ||
Ok(ProposalResponse::RejectProposal { | ||
reason: Some(format!( | ||
"proposal expired at: {} which is less than 5 min or more than 30 min from now", |
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.
"proposal expired at: {} which is less than 5 min or more than 30 min from now", | |
"Proposal expires at: {} which is less than 5 min or more than 30 min from now", |
Ok(ProposalResponse::RejectProposal) | ||
Ok(ProposalResponse::RejectProposal { | ||
reason: Some(format!( | ||
"available agreements limit: {} reached", |
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.
"available agreements limit: {} reached", | |
"Node busy. Reached Agreements limit: {}", |
Ok(AgreementResponse::RejectAgreement) | ||
Ok(AgreementResponse::RejectAgreement { | ||
reason: Some(format!( | ||
"available agreements limit: {} reached", |
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.
"available agreements limit: {} reached", | |
"Node busy. Reached Agreements limit: {}", |
@@ -16,7 +16,10 @@ pub enum ProposalResponse { | |||
offer: DemandOfferBase, | |||
}, | |||
AcceptProposal, | |||
RejectProposal, | |||
#[display(fmt = "RejectProposal( reason: {:?})", reason)] |
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.
It will be awfull message with Some()
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.
Let's cover it in other PR, as this is blocking others.
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.
reported as #776
Conform to changes in golemfactory/ya-client#52