-
Notifications
You must be signed in to change notification settings - Fork 856
config: update sei-tendermint default configs #2434
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (47.20%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #2434 +/- ##
===========================================
+ Coverage 40.15% 51.49% +11.34%
===========================================
Files 1531 1541 +10
Lines 156208 156504 +296
===========================================
+ Hits 62718 80593 +17875
+ Misses 88785 69827 -18958
- Partials 4705 6084 +1379
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No blockers, though probably worth having @pompon0 review these changes too
func DefaultValidatorConfig() *Config { | ||
cfg := DefaultConfig() | ||
cfg.Mode = ModeValidator | ||
cfg.TxIndex.Indexer = []string{"null"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am curious; why? What happens if the slice is left to be nil
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha, that's the funny part: if it is nil or empty slice, then it defaults to {"kv"}. Ugly as hell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@udpatil should we update the underlying map 😂?
sei-tendermint/config/config.go
Outdated
SendRate: 20971520, // 20 MB/s per connection | ||
RecvRate: 20971520, // 20 MB/s per connection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SendRate: 20971520, // 20 MB/s per connection | |
RecvRate: 20971520, // 20 MB/s per connection | |
SendRate: 20971520, // 20 MiB/s per connection | |
RecvRate: 20971520, // 20 MiB/s per connection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Describe your changes and provide context
Testing performed to validate your change