-
Notifications
You must be signed in to change notification settings - Fork 63
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
Dynamic payment schema for polygon #1787
Conversation
@scx1332 it would be great if you can describe the strategy introduced within this PR in few sentences (currently description is void, and it took me several minutes to get to the point) |
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.
If we need to execute different code for each network, than probably we should make an abstraction (dyn Trait) for this.
But this is not blocking comment.
@@ -233,10 +260,15 @@ pub async fn send_transactions( | |||
match serde_json::from_str::<YagnaRawTransaction>(&tx.encoded) { | |||
Ok(raw_tx) => raw_tx, | |||
Err(err) => { | |||
let error = format!("JSON parse failed, unrecoverable error: {}", err); | |||
log::error!("Error during serialization of json: {:?}", err); |
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.
This log has no context, where it happened. It will be hard to understand
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.
Please check my comments, before I will approve
… into scx1332/maticpayments
we are getting a lof of settings around gas.. would be nice to make it simpler instead of adding layers on top of layers of fixes |
1e19c5c
No description provided.