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

Added transfer for erc20 driver #1190

Merged
merged 2 commits into from
Mar 31, 2021
Merged

Added transfer for erc20 driver #1190

merged 2 commits into from
Mar 31, 2021

Conversation

maaktweluit
Copy link
Contributor

  • Added support for yagna payment transfer on --driver erc20
  • Moved logic to get_next_nonce to wallet

@maaktweluit maaktweluit requested review from pnowosie, Wiezzel and a team March 29, 2021 14:18
@maaktweluit maaktweluit self-assigned this Mar 29, 2021
core/model/src/driver.rs Outdated Show resolved Hide resolved
core/payment-driver/erc20/src/driver/cli.rs Outdated Show resolved Hide resolved
core/payment-driver/erc20/src/erc20/wallet.rs Outdated Show resolved Hide resolved
Copy link

@Wiezzel Wiezzel left a comment

Choose a reason for hiding this comment

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

Working fine. My only suggestion is to improve the output message.

);
log::info!("{}", message);
log::debug!("tx_id={}", tx_id);
Ok(message)
Copy link

Choose a reason for hiding this comment

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

This message is fine for logging but for user output I'd go with etherscan link.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch! made an issue for this: https://golemproject.atlassian.net/browse/PAY-292

@maaktweluit maaktweluit merged commit 40fd73a into master Mar 31, 2021
@maaktweluit maaktweluit deleted the mwu/erc20-transfer branch March 31, 2021 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants