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

Add gas-price global option #625

Merged
merged 8 commits into from
Jul 17, 2019
Merged

Conversation

0xGabi
Copy link
Contributor

@0xGabi 0xGabi commented Jul 14, 2019

🦅 Pull Request

closes #499

Include new --gas-price option to manually setup the gas price.

Small fix to include agent, survey and payroll as known apps to display instead of appId hash.

TODO (New issue #631):

  • Fetch to gasStationAPI is not working, might be some CORS issue involved 🤔

  • Prompt the user before signing the tx

@0xGabi 0xGabi added the 💡 feature update An update to existing functionality of the API label Jul 14, 2019
Copy link
Contributor

@kernelwhisperer kernelwhisperer left a comment

Choose a reason for hiding this comment

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

Fetch to gasStationAPI is not working, might be some CORS issue involved

I don't think is possible to do it in default or coerce because they expect synchronous functions..

We can move it to an async middlewave, but... I'm not a big fan of adding this feature because it will get triggered all the time, even when doing aragon -v and because it's a bit magical (aragon --help says 10 gwei, but it's actually dynamic).

I think it would be nicer if we prompt the user right before sending the transaction and ask them if they want to use safeLow, default, fastest, custom, etc.

@0xGabi 0xGabi added this to In progress in Aragon Mesh Team via automation Jul 16, 2019
@0xGabi 0xGabi merged commit a9796e1 into aragon:master Jul 17, 2019
Aragon Mesh Team automation moved this from In progress to Done Jul 17, 2019
@0xGabi 0xGabi deleted the feat/gas-price-option branch July 17, 2019 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 feature update An update to existing functionality of the API
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Allow manual configuration of gas price when using aragonCLI in Terminal
2 participants