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: Use dash-separated flags for minimus gas prices #3364

Merged
merged 2 commits into from
Jan 24, 2019

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Jan 23, 2019

Ref #3241

  • 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)

@cwgoes
Copy link
Contributor

cwgoes commented Jan 23, 2019

PENDING.md ?

@codecov
Copy link

codecov bot commented Jan 23, 2019

Codecov Report

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

@@             Coverage Diff             @@
##           develop    #3364      +/-   ##
===========================================
+ Coverage     54.9%   54.93%   +0.02%     
===========================================
  Files          132      132              
  Lines         9645     9645              
===========================================
+ Hits          5296     5298       +2     
+ Misses        4016     4014       -2     
  Partials       333      333

@@ -16,7 +16,7 @@ const defaultConfigTemplate = `# This is a TOML config file.
# The minimum gas prices a validator is willing to accept for processing a
# transaction. A transaction's fees must meet the minimum of each denomination
# specified in this config (e.g. 0.01photino,0.0001stake).
minimum_gas_prices = "{{ .BaseConfig.MinGasPrices }}"
minimum-gas-prices = "{{ .BaseConfig.MinGasPrices }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

So is this required? This is why I didn't go with this in the first place because most (all?) toml keys are snake-cased.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is true for Tendermint config.toml, not for gaiad.toml.

Copy link
Contributor

Choose a reason for hiding this comment

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

You're right...TOML spec doesn't really seem to have a preference here (https://github.com/toml-lang/toml#user-content-keys)

@alexanderbez
Copy link
Contributor

@alessio can you add a pending log entry?

@alessio
Copy link
Contributor Author

alessio commented Jan 23, 2019

@alexanderbez done

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

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

ACK

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