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

Fix/send eth button in Exchange #151

Merged
merged 2 commits into from
Jun 7, 2019
Merged

Fix/send eth button in Exchange #151

merged 2 commits into from
Jun 7, 2019

Conversation

TimDaub
Copy link
Collaborator

@TimDaub TimDaub commented Jun 3, 2019

Fixes #126

TODOs:

Copy link
Member

@johannbarbie johannbarbie left a comment

Choose a reason for hiding this comment

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

works, but found a related issue: #156

let paramsObject = {
from: daiAddress,
value: actualEthSendAmount,
gas: 240000,
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's legacy stuff. GasLimits are set arbitrarily like that everywhere. We should actually use .estimateGas everywhere.

I'd proceed by leaving it for now and opening an issue upstream. OK?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@TimDaub TimDaub merged commit 6adcb5e into master Jun 7, 2019
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.

"Send ETH" button from Exchange.js is disabled for Metamask users and needs to be enabled again
2 participants