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

R4R: change --gas=simulate to --gas=auto when sending txs #3170

Merged
merged 3 commits into from
Dec 20, 2018

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Dec 19, 2018

--gas=simulate caused confusion and could be
mistaken for the --simulate flag.

Closes: #3162

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote tests
  • Updated relevant documentation (docs/)
  • Added entries in PENDING.md with issue #
  • rereviewed Files changed in the github PR explorer

For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@alessio alessio changed the title change --gas=simulate to --gas=auto when sending txs R4R: change --gas=simulate to --gas=auto when sending txs Dec 19, 2018
@codecov
Copy link

codecov bot commented Dec 19, 2018

Codecov Report

Merging #3170 into develop will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #3170      +/-   ##
===========================================
+ Coverage    54.72%   54.74%   +0.02%     
===========================================
  Files          132      132              
  Lines         9425     9425              
===========================================
+ Hits          5158     5160       +2     
+ Misses        3949     3947       -2     
  Partials       318      318

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @alessio. Left a few comments, lmk your thoughts.

client/flags.go Outdated Show resolved Hide resolved
cmd/gaia/cli_test/cli_test.go Show resolved Hide resolved
client/lcd/lcd_test.go Outdated Show resolved Hide resolved
docs/gaia/gaiacli.md Outdated Show resolved Hide resolved
Alessio Treglia added 3 commits December 20, 2018 11:08
--gas=simulate caused confusion and could be
mistaken for the --simulate flag.

Closes: #3162
--gas=simulate caused confusion and could be
mistaken for the --simulate flag.

Closes: #3162

GasFlagSimulate -> GasFlagAuto
--gas=simulate caused confusion and could be
mistaken for the --simulate flag.

Closes: #3162
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for adding the test cases. I deleted them when I changed the gas type to uint64 but forgot to add them back

@fedekunze fedekunze added the T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine). label Dec 20, 2018
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

utACK ☕️

@jackzampolin jackzampolin merged commit abbd2d4 into develop Dec 20, 2018
@jackzampolin jackzampolin deleted the alessio/3162-gas-auto branch December 20, 2018 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants