-
Notifications
You must be signed in to change notification settings - Fork 4.1k
chore(gov): make distribution keeper optional #25616
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
base: main
Are you sure you want to change the base?
Conversation
omits the use of the staking keeper entirely, unless specifically required in the function
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #25616 +/- ##
==========================================
- Coverage 70.30% 70.30% -0.01%
==========================================
Files 821 821
Lines 53768 53771 +3
==========================================
+ Hits 37803 37805 +2
- Misses 15965 15966 +1
🚀 New features to boost your workflow:
|
aljo242
left a comment
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.
Feels like we need to test an e2e app with no distribution in our system tests or large e2e setups
2dfde55 to
bfa4c80
Compare
bfa4c80 to
1976044
Compare
| v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" | ||
| ) | ||
|
|
||
| func (suite *KeeperTestSuite) TestImportExportQueues_ErrorUnconsistentState() { |
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.
Follow up item should be to test this function more thoroughly
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.
aljo242
left a comment
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.
@vladjdk need a changelog for this
Makes distribution keeper optional. Requires that the distribution keeper is non-nil if the module's address is used as a cancellation fee destination.
Requires #25615 to be merged first.