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

bug: fix ERC-20 payment flow #7198

Merged
merged 1 commit into from
Aug 6, 2020
Merged

Conversation

thelostone-mc
Copy link
Member

Description + Test

Flows tested

  • Rinkeby ETH flow
  • Mainnet ETH flow
  • Rinkeby ERC20 token (LOLA)
  • Mainnet ANT token

https://gitcoincore.slack.com/archives/CAXQ7PT60/p1596709635067100?thread_ts=1596666404.051500&cid=CAXQ7PT60

cc @octavioamu could you validate it

from: selectedAccount,
value: web3.utils.toWei(String(amount)),
gasPrice: web3.utils.toHex(5 * Math.pow(10, 9)),
gas: web3.utils.toHex(318730),
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to pass the gas amount or let metamask ?

Copy link
Member Author

@thelostone-mc thelostone-mc Aug 6, 2020

Choose a reason for hiding this comment

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

Oh that is for the ETH flow! We can raise a follow up PR to take care of that ?

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm yeah was this just a relic of the gas needed for std bounties registration?

@thelostone-mc thelostone-mc merged commit 505059f into gitcoinco:stable Aug 6, 2020
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.

3 participants