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

update params for x/gov and default config #1690

Merged
merged 4 commits into from
Jul 16, 2018
Merged

Conversation

ebuchman
Copy link
Member

This is based on v0.21.1 ...

@ebuchman
Copy link
Member Author

test_cli failing locally for me

* [gaiad] Default config updates:
- `timeout_commit=5000` so blocks only made every 5s
- `prof_listen_addr=localhost:6060` so profile server is on by default
- `p2p.send_rate` and `p2p.recv_rate` increases 10x (~5MB/s)
Copy link
Contributor

Choose a reason for hiding this comment

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

Have these changed? The before/after config values are both 5120000. Or did we miss the changelog last time?

Copy link
Member Author

Choose a reason for hiding this comment

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

Changelog entry is in v0.20 but I don't think it actually took effect, so it was just using the Tendermint defaults

cwgoes
cwgoes previously approved these changes Jul 16, 2018
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.

Tested ACK, not sure about one changelog comment but very minor.

@cwgoes cwgoes dismissed their stale review July 16, 2018 17:28

test_cli fails

@cwgoes
Copy link
Contributor

cwgoes commented Jul 16, 2018

Reverting just the governance changes:

diff --git a/x/gov/keeper.go b/x/gov/keeper.go
index 4569743e..992147ab 100644
--- a/x/gov/keeper.go
+++ b/x/gov/keeper.go
@@ -129,9 +129,9 @@ func (keeper Keeper) activateVotingPeriod(ctx sdk.Context, proposal Proposal) {
 // Procedures
 
 var (
-	defaultMinDeposit       int64 = 100
-	defaultMaxDepositPeriod int64 = 10000
-	defaultVotingPeriod     int64 = 10000
+	defaultMinDeposit       int64 = 10
+	defaultMaxDepositPeriod int64 = 200
+	defaultVotingPeriod     int64 = 200
 )

test_cli passes.

@codecov
Copy link

codecov bot commented Jul 16, 2018

Codecov Report

Merging #1690 into develop will decrease coverage by 1.72%.
The diff coverage is 23.07%.

@@             Coverage Diff             @@
##           develop    #1690      +/-   ##
===========================================
- Coverage    62.37%   60.64%   -1.73%     
===========================================
  Files          120      119       -1     
  Lines         7117     6906     -211     
===========================================
- Hits          4439     4188     -251     
- Misses        2427     2479      +52     
+ Partials       251      239      -12

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.

Tested (make && make test_cli) ACK

@ebuchman ebuchman changed the base branch from master to develop July 16, 2018 18:43
@ebuchman
Copy link
Member Author

Tagged.

@ebuchman ebuchman merged commit 972b8f5 into develop Jul 16, 2018
@ebuchman ebuchman deleted the release/v0.22.0 branch July 16, 2018 18:46
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.

2 participants