Skip to content
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

ERC-20 payment driver: added network field to transaction #974

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

Wiezzel
Copy link

@Wiezzel Wiezzel commented Jan 27, 2021

For the sender to calculate nonces properly, it is necessary to include network in transaction model as well.

Additionally:

  • Added some log messages.
  • Remove unwrap() that cause driver to panic on tx submit error.
  • Extended timeout in invoice_flow and debit_note_flow (300s wasn't always enough for mainnet transactions).

@Wiezzel Wiezzel added bug Something isn't working alpha.4 labels Jan 27, 2021
@Wiezzel Wiezzel self-assigned this Jan 27, 2021
@Wiezzel Wiezzel requested a review from a team January 27, 2021 11:47
For the sender to calculate nonces properly, it is necessary to
include network in transaction model as well.

Additionally:
* Added some log messages.
* Remove `unwrap()` that cause driver to panic on tx submit error.
* Extended timeout in invoice_flow and debit_note_flow (300s wasn't
  always enough for mainnet transactions).

Signed-off-by: Adam Wierzbicki <awierzbicki@golem.network>
@Wiezzel Wiezzel force-pushed the wiezzel/erc20_tx_network_id branch from ea69deb to b4b1992 Compare January 27, 2021 12:11
Copy link
Contributor

@maaktweluit maaktweluit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Wiezzel Wiezzel merged commit 5f1e1cf into release/v0.6 Jan 27, 2021
@Wiezzel Wiezzel deleted the wiezzel/erc20_tx_network_id branch January 27, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants